- Home
- Skills
- Code Quality & Review
- PHP Version Upgrade Planner (8.1–8.3 to 8.4 or 8.5)
Works with the AI Agents you already use
PHP Version Upgrade Planner (8.1–8.3 to 8.4 or 8.5)
Move any PHP codebase from 8.1, 8.2 or 8.3 to PHP 8.4 or 8.5 with a dependency check, deprecation scan, automated fixes and a staged rollout plan.
$3
About this skill
An evidence-first procedure for moving any Composer-based PHP codebase (plain PHP, Laravel, Symfony, WordPress, Drupal, Magento) from PHP 8.1, 8.2 or 8.3 to PHP 8.4 or 8.5. PHP 8.1 is already end of life and PHP 8.2 loses security support on 31 Dec 2026, so most teams need this upgrade now.
What the agent does
- Inventories the runtime, extensions and every place the PHP version is pinned (Composer, Docker, CI, hosting, IaC).
- Finds Composer packages and extensions that block the target version before anything changes.
- Scans code with a bundled read-only scanner, PHPCompatibility and PHPStan/Psalm, then maps findings to the official PHP 8.2–8.5 deprecations and breaking changes.
- Applies mechanical fixes with Rector in a separate commit, then prioritizes the remaining manual fixes (P0–P3).
- Runs tests on both versions with deprecations treated as failures, and plans a staged rollout with a rollback path.
What you get
- An upgrade report: target recommendation, effort estimate, version pins, dependency blockers, file:line change list, and a rollout checklist.
- Reference tables of every high-impact change in PHP 8.2, 8.3, 8.4 and 8.5 with replacements, sourced from the official php.net migration guides.
- Ready-to-use configuration for Rector, PHPCompatibility, PHPStan, PHPUnit, GitHub Actions and Docker.
Requires a terminal and Python 3 for the optional scanner script; PHP and Composer for the project itself.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 28 days ago