- 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
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed 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 scanned
Verified clean today
- Passed all security checks, Safe to install