php-modernization
v1.24.1by netresearch · author: Netresearch DTT GmbH
PHP 8.x modernization patterns with type safety and PHPStan
What php-modernization does, in the publisher's words
Expert patterns for modernizing PHP applications to PHP 8.x with type safety, PSR / PER-CS compliance, static-analysis tooling, and Symfony-grade architecture. The skill ships an agent contract: a small set of executable tools that emit machine-readable verification reports, archetype profiles, and fix-loop transcripts.
This is an Agent Skill following the open standard originally developed by Anthropic and released for cross-platform use.
Supported platforms:
- Claude Code (Anthropic)
- Cursor
- GitHub Copilot
- Other skills-compatible AI agents
- Agent contract: a Python verifier (verify_php_project.py), orchestrator (modernize_loop.py), and cheap profiler (introspect.py). stable structured output (JSON with schema_version 1.0.0, SARIF 2.1.0, or JUnit XML), archetype detection, and machine-readable agent_actions[] recommendations downstream agents can act on without re-reading the prose references.
- Hard guardrails: five binding refusal cases enforced in SKILL.md (no readonly on Doctrine entities, no Rector without --dry-run, baseline shrink-not-delete, no blanket final on mock targets, no editing generated files).
From the project README, punctuation lightly normalized · Open the README on GitHub
- Skills
- 1
- MCP servers
- 0
- Stars
- 61
- License
- (MIT AND CC-BY-SA-4.0)
- Repo created
- 2025-12-13
- Last pushed
- 2026-11-05
- Publisher type
- Organization
- Version
- 1.24.1
Links
Skills · 1
- php-modernization
- Use when modernizing PHP code: PHP 8.1-8.5 features, PSR/PHP-FIG/PER-CS compliance, PHPStan/Rector/PHP-CS-Fixer/PHPat tooling, DTOs/enums/readonly/property hooks, type safety. Triggers: PHP modernization, type safety, PHPStan, Rector, PHP-CS-Fixer, enum, DTO, readonly, strict_types, property hooks,…
Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.
Category
Code Review & Quality. Assigned by this directory. Agent Plugins 1.0.0 has no category field, so no manifest declares one.
Related by publisher and keywords
Comprehensive Jira integration with auto-detection of issue keys
Generate and maintain AGENTS.md, copilot-instructions.md, and other agent rule files
Fetch up-to-date library documentation via Context7 REST API
Git workflow best practices with commit validation hooks
Security audit patterns (OWASP Top 10, CWE Top 25 2025, CVSS v4.0) and GitHub project security checks for any project. Deep automated PHP/TYPO3 scanning with 80+ checkpoints, 41 reference guides, PreToolUse warnings. By Netresearch.
Fast codebase search with ripgrep for text patterns, ast-grep for structural code search, plus fd, rga, tokei, and scc
[](https://agentpluginsdirectory.com/plugins/php-modernization)✓ Verified . We fetched the manifest from GitHub and checked it against the official Agent Plugins 1.0.0 schema at agent-plugins.org.