Php Modernization
ListedThis skill automatically modernizes legacy PHP codebases, improving performance and security for faster development and reduced maintenance costs.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add netresearch/php-modernization-skill --skill php-modernization -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
netresearch
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 3 hosts that are neither well-known infrastructure nor declared in the skill's frontmatter: docs.astral.sh, docs.oasis-open.org, repo.packagist.org.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
repo.packagist.orgundeclareddocs.astral.shundeclareddocs.oasis-open.orgundeclaredgithub.comsource hostWhat it found
- skills/php-modernization/references/composer-package-metadata.md:86contacts repo.packagist.org
curl -s -o /dev/null -w "%{http_code}\n" https://repo.packagist.org/p2/<vendor>/<name>.json - skills/php-modernization/scripts/verify-php-project.sh:33contacts docs.astral.sh
echo "ERROR: 'uv' is required to run this tool (install: https://docs.astral.sh/uv/)" >&2 - skills/php-modernization/scripts/verify_php_project.py:50contacts docs.oasis-open.org
SARIF_SCHEMA_URI = "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json"
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned netresearch/php-modernization-skill at a1df7cb2b3.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- a1df7cb2b3
- Scanned
- 36 files, 12,509 lines
About this skill
What it does
This skill modernizes existing PHP codebases. It helps update deprecated features, improve coding standards, and generally bring older PHP applications up to current best practices. The skill aims to reduce technical debt and enhance the maintainability of PHP projects.
When to use it
- You have a legacy PHP application using outdated syntax or functions.
- Your team wants to adopt modern PHP coding standards (PSR).
- You're preparing a PHP project for deployment to a newer PHP version.
- You need assistance refactoring complex PHP code for better readability and performance.
Key capabilities
- Modernization of deprecated features
- Adherence to PSR coding standards
- Code refactoring
- PHP Version compatibility updates
Example prompts
- "Modernize this PHP function: [paste code snippet]"
- "Refactor this class to follow PSR-12 guidelines."
- "Update this codebase to be compatible with PHP 8.0."
Tips & gotchas
The skill's effectiveness depends on the complexity and age of the existing codebase. It is recommended to start with smaller, isolated sections of code for initial testing and evaluation.