PHP Modernization Skill
Expert patterns for modernizing PHP applications to PHP 8.x with type safety, Symfony best practices, and static analysis compliance.
About
# PHP Modernization Skill Expert patterns for modernizing PHP applications to PHP 8.x with type safety, Symfony best practices, and static analysis compliance. ## Features - **PHP 8.x Features**: Constructor property promotion, readonly properties and classes, named arguments, enums and match expressions, attributes (replacing annotations), union and intersection types, nullsafe operator - **Type Safety Patterns**: Generic collection typing via PHPDoc, ArrayTypeHelper for type-safe array operations, strict typing enforcement, PHPStan level 9+ compliance, runtime type validation - **Symfony Integration**: Dependency injection patterns, service configuration (YAML → PHP), event dispatcher and PSR-14, form handling modernization, security component updates - **Static Analysis**: PHPStan level 9 configuration and compliance strategies - **Migration Strategies**: Version upgrade planning and systematic modernization approaches ## Installation ### Option 1: Via Netresearch Marketplace (
Quick Start
Manual Installation
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions