# 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.

PHP Version Upgrade Planner (8.1–8.3 to 8.4 or 8.5) is a paid AI agent skill on Agensi by Hamza Alayed, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $3 (one-time purchase)
- Creator: [Hamza Alayed](https://www.agensi.io/creators/hamza-alayed)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-10-20
- Security: scan passed (2026-10-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/php-version-upgrade-planner-8-1-8-3-to-8-4-or-8-5
- Tags: php, migration, developer-tools, static-analysis, backend, devops, code-quality

## 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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the PHP Version Upgrade Planner (8.1–8.3 to 8.4 or 8.5) skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does PHP Version Upgrade Planner (8.1–8.3 to 8.4 or 8.5) do?

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.

### Which AI agents support PHP Version Upgrade Planner (8.1–8.3 to 8.4 or 8.5)?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use PHP Version Upgrade Planner (8.1–8.3 to 8.4 or 8.5)?

Connect your AI agent to Agensi through MCP, then ask it to use PHP Version Upgrade Planner (8.1–8.3 to 8.4 or 8.5) on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
