Php Modernization
Upgrade legacy PHP projects to current language versions and coding standards. This skill guides you through type declarations, PSR/PER-CS compliance, static analysis setup, and modern patterns like DTOs and enums. It covers PHP 8.1 through 8.5 features, Rector automation, PHPStan configuration, and framework-specific edges.
PHP Modernization helps you upgrade legacy PHP codebases to PHP 8.1–8.5 standards with type safety and modern tooling.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-27
PHP Modernization helps you upgrade legacy PHP codebases to PHP 8.1–8.5 standards with type safety and modern tooling. Upgrade legacy PHP projects to current language versions and coding standards. This skill guides you through type declarations, PSR/PER-CS compliance, static analysis setup, and modern patterns like DTOs and enums. It covers PHP 8.1 through 8.5 features, Rector automation, PHPStan configuration, and framework-specific edges.
Use it when
- Php Modernization teaches you to modernize PHP code by automating refactoring through tools like Rector.
- Php Modernization covers PHP 8.1 through 8.5 features and patterns.
Similar skills
Install
dirnbauer/webconsulting-skills/php-modernization · repository language: Shell
generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What does Php Modernization help me accomplish?
Php Modernization guides you through upgrading legacy PHP projects to current language versions and coding standards. The skill covers type declarations, PSR/PER-CS compliance, static analysis setup, and modern patterns like DTOs and enums across PHP 8.1 through 8.5 features, Rector automation, PHPStan configuration, and framework-specific considerations.
How can I modernize PHP code using this skill?
Php Modernization teaches you to modernize PHP code by automating refactoring through tools like Rector, configuring static analysis with PHPStan, adopting type declarations, and implementing modern language features. The skill helps you transition from older syntax to current standards while maintaining code functionality and improving maintainability.
What PHP versions does Php Modernization cover?
Php Modernization covers PHP 8.1 through 8.5 features and patterns. The skill guides you through the evolution of language capabilities across these versions, helping you leverage modern features appropriate to your target PHP version while upgrading legacy codebases.
Can Php Modernization help with refactoring old PHP?
Yes, Php Modernization specializes in refactoring old PHP codebases. It automates PHP code refactoring and version migration through tools like Rector, guides you through converting older PHP syntax to modern language features, and helps improve code quality and maintainability in legacy projects.
What standards and tools does Php Modernization address?
Php Modernization addresses PSR/PER-CS compliance standards and covers key tools including Rector for automation and PHPStan for static analysis configuration. The skill also guides you through framework-specific modernization edges and helps you establish modern coding practices across your PHP projects.
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Upgrade and modernize legacy PHP codebases to current standards”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Upgrade legacy PHP projects to current language standards using PHP 8.1+ features, strict typing, and modern patterns. This skill guides you through static analysis configuration, automated refactoring with Rector, code style fixes, and architectural improvements like DTOs and enums. It enforces best practices across PSR compliance, PHPStan levels, and framework-specific patterns while protecting critical code from unsafe transformations.
PHP Pro is a senior-level specialist for modern PHP development with Laravel, Symfony, and PHP 8.3+. It enforces strict typing, dependency injection, and PSR compliance while generating typed DTOs, services, controllers, and comprehensive tests. Every implementation passes PHPStan level 9 and PHPUnit/Pest coverage thresholds before delivery.
PHP guides you through modern language conventions, strict type declarations, and contemporary idioms for PHP 8.5+. It covers naming standards, type system rules, enumerations, class design patterns, and functional programming constructs to keep your code explicit and maintainable.
PHP Best Practices audits your code against 51 rules covering type systems, modern PHP 8.x features, PSR standards, SOLID principles, error handling, performance, and security. It detects your project's PHP version and applies only relevant guidance, from union types and match expressions in 8.0 through property hooks and the pipe operator in 8.4+.
PHP Specialist guides you through modern PHP 8.x development with language features like enums, readonly properties, and match expressions. It covers the complete toolchain: PSR interoperability, Composer dependency management, static analysis configuration, and coding standards enforcement. Apply it whenever you're authoring, reviewing, or refactoring PHP code to ensure type safety and architectural correctness.
This skill covers idiomatic PHP 8.x development, emphasizing strict typing, immutable data structures via readonly classes and enums, and domain-driven error handling. Learn named arguments, match expressions, constructor injection, and PSR-12 naming conventions alongside static analysis tools like PHPStan and Psalm.
More skills php (MIT) · magento-php-specialist (MIT)