symfonyquality-checks

MakFly's avatarfrom MakFly

Run code quality tools including PHP-CS-Fixer for style, PHPStan for static analysis, and Psalm for type safety

⭐26stars🔀4forks📁View on GitHub🕐Updated Dec 30, 2025

When & Why to Use This Skill

This Claude skill automates essential PHP and Symfony code quality workflows by integrating industry-standard tools like PHP-CS-Fixer, PHPStan, and Psalm. It streamlines the process of maintaining high-quality codebases by enforcing style consistency, performing deep static analysis to catch bugs early, and ensuring rigorous type safety across Symfony applications.

Use Cases

  • Automated Code Styling: Quickly fix PHP coding style issues using PHP-CS-Fixer to ensure compliance with PSR standards or project-specific rules.
  • Static Analysis for Bug Prevention: Run PHPStan to detect potential logic errors, unreachable code, and edge-case bugs without executing the code.
  • Type Safety Enforcement: Utilize Psalm to perform advanced type checking, helping to eliminate runtime errors and improve code reliability in complex PHP projects.
  • Symfony Quality Audits: Perform comprehensive quality checks on Symfony-based projects to ensure the codebase remains clean, maintainable, and bug-free during development.
namesymfony:quality-checks
descriptionUse when symfony quality checks

symfony:quality-checks (Micro)

Use when

  • Use when symfony quality checks

Rules

  • Keep changes minimal and focused
  • Ask before running servers/builds/tests
  • Load reference/examples only on explicit request

References

  • reference.md
  • docs/complexity-tiers.md