php - Modern PHP 8.x development outside Laravel
Write, review, and modernize framework-agnostic PHP 8.3–8.5 code with Composer, PSR-4, typed language features, and quality tools.
Tags
Updated: 2026-09-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write typed PHP code
- Review and refactor PHP
- Design typed domain classes
- Configure Composer PSR-4
- Set up quality gates
- Modernize legacy PHP patterns
- Choose PSR-compatible libraries
Inputs
- PHP source files
- composer.json
- Deployment PHP version
- Project requirements
Outputs
- Modified PHP source files
- Composer configuration files
- PSR-4 autoload configuration
- Quality tool configuration
- Analysis and test status
Requirements
- PHP 8.3 or later
- Composer
- PHP 8.5 runtime for 8.5 features
