Implements modern PHP 8.x best practices, strict type safety, and PSR standards for high-quality software development.
This skill provides a comprehensive framework for writing, reviewing, and refactoring PHP code according to modern standards (PHP 8.0 through 8.5). It enforces strict type declarations, promotes the use of modern features like Enums and property hooks, and ensures adherence to PSR standards and SOLID principles. Whether you are upgrading legacy codebases or building new API services, this skill helps eliminate anti-patterns and ensures production-grade, type-safe PHP implementation.
Key Features
01Advanced error handling strategies using Throwables and modern catch blocks
02Full compliance with PSR standards including PSR-4 autoloading and PSR-12 style
03Dependency Injection and SOLID principle implementation guidance
04Strict type system enforcement including Union, Intersection, and DNF types
05Modern OOP patterns utilizing Readonly classes, Enums, and Constructor Promotion
060 GitHub stars
Use Cases
01Ensuring architectural consistency and type safety in new Laravel or Symfony projects
02Automating code reviews for adherence to PSR coding styles and best practices
03Refactoring legacy PHP 5 or 7 codebases to modern PHP 8.x standards