PHP 7.4 to 8.3, one click

Upgrade PHP without breaking production

php2shell scans your codebase for the compatibility problems that break a PHP 8 upgrade, previews every automatic fix as a diff and exports a report your team can review. Scanner and fixer rules follow the Rector upgrade rule sets.

26

Compatibility rules

10

Bundled runtime advisories

HTML + PDF

Report exports

src/Report.php → PHP 8.3
 1  public function build(string $title = null) {
 2      $this->label = "Report ${title}${title}";
 3      $encoded = utf8_encode($this->label);
 4      $class  = get_class();
 5      return [$this->label, $encoded, $class];
 6  }
php2shell dry-run diff
-    $encoded = utf8_encode($this->label);
+    $encoded = mb_convert_encoding($this->label, 'UTF-8', 'ISO-8859-1');
-    $class  = get_class();
+    $class  = static::class;
Workflow

From scan to verified upgrade

Five steps, no guesswork. Every change is visible before it touches your code.

1. Scan the project

Upload a zip archive or paste files. php2shell reads the target version from composer.json when it is available and detects the current runtime version.

2. Review the issue list

Every finding carries the file, the line, the affected PHP version, the severity and the recommended change - plus the runtime advisories that apply to your version.

3. Preview the fix

The dry-run shows a unified diff of every automatic change. Nothing is written until you confirm the fix run.

4. Apply and summarise

One click applies the fixable rules and produces a change summary: which files changed, which issues were fixed automatically and which still need a developer.

5. Verify with PHPUnit

Paste the output of your test suite to get the pass rate and the list of failing cases before you deploy.

6. Export the report

Download a self-contained HTML report or a printable PDF for your team or your client.

Built for developers

The scanner works offline against a bundled advisory database. No API key, no account juggling, no code leaving your machine unless you explicitly request AI assisted review.

  • 26 upgrade rules, Rector compatible
  • File and line level findings
  • HTML and PDF reports

Built for agencies

The same project can be re-analysed against a new target version, and every run keeps its own report - handy when you look after dozens of sites.

  • Project history per account
  • PHPUnit pass rate per release
  • Shareable PDF reports

Built for AI assisted work

Buy a token quality pack and get a second opinion on the findings the rule engine cannot decide - without connecting your own API key.

  • De-identified snippets only
  • No snippet is stored
  • Credit based, no surprise invoices
Comparison

Why teams move to php2shell

Most tools cover a single step of the upgrade. php2shell covers the whole loop.

Capability php2shell PHPCompatibility Rector alone Commercial scanners
Compatibility scanIncludedIncludedNoIncluded
Automatic fixingIncludedNoIncludedNo
Dry-run diff previewIncludedNoIncludedNo
Test verification (PHPUnit)IncludedNoNoNo
Scan → fix → verify loopIncludedNoNoNo
Runtime advisory checkIncludedNoNoNo
AI assisted review without your own keyToken quality packNoNoNo
HTML and PDF reportsIncludedPartialNoUsually
Pricing

Start free, upgrade when you fix

The scanner and the HTML report are free. The automatic fixer and the test verification are unlocked by a license.

Scanner

For individuals who want to know what will break.

$0/ forever
  • Full compatibility scan
  • Runtime advisory check
  • Issue list with file and line
  • HTML report export
Start scanning

Fixer + Verify

For agencies and hosting companies shipping many sites.

$99/ month
$149 list price · $990 per year
  • Everything in Fixer
  • PHPUnit pass rate
  • Batch project handling
  • AI review credits included
  • Dedicated support
Talk to sales

Need AI assisted reviews on top of a plan? Add a token quality pack from $9. Support: support@php2shell.top

FAQ

Questions before you upgrade

Does php2shell upload my source code?

The scan, the fix and the report run on the server that hosts this tool. The only time a snippet is transmitted to an AI provider is when you explicitly request an AI assisted review - and that snippet is de-identified first and never stored. See the Privacy Policy.

Which PHP versions are supported?

Targets between PHP 7.4 and 8.3 are supported. Rules that only affect a newer target (for example the implicit nullable parameter deprecation of PHP 8.4) are listed in the rule catalog and only reported when you select that target.

Does the automatic fixer guarantee a working upgrade?

No. The fixer applies well-defined Rector style transformations and always shows a diff first. Review the diff, run your test suite in staging and deploy. We recommend the Fixer + Verify plan for teams that need the PHPUnit pass rate next to the diff.

Do I need my own AI API key?

No. Buy a token quality pack inside the tool and the platform pays for the model calls. You never see or export a provider key.

Guides

Read this before you upgrade

The deprecations that break an upgrade, the error messages you will meet and how to prove that the result still works.

All PHP upgrade articles

Find out what breaks before you upgrade

The first scan is free and takes less than a minute.

Featured On

php2shell - Launched on Fazier php2shell on Toolpilot php2shell - Verified on DANG php2shell - Featured on DeepLaunch.io php2shell - OpenHunts Club Member php2shell - Featured on Startup Fame php2shell - Featured on Findly.tools php2shell - Featured on Twelve Tools php2shell - Listed on Turbo0 php2shell - Featured on ShowMeBestAI php2shell - Submit AI Tools php2shell - Featured on toolfame.com php2shell - Featured on saasfame.com php2shell - Featured on NewTool.site php2shell - Featured on Yo.directory AgentHunter Badge

AgentHunter

Featured AI Tool

php2shell - PHP Compatibility Scanner on Aidirs php2shell - Featured on Gets.Tools php2shell - Featured on First Look php2shell - Featured on Smol Launch php2shell - Featured on FreeAI php2shell - Featured on SaaSGrow php2shell - Featured on SubmitMySaas php2shell - Featured on AIJustBetter.com php2shell - Featured on SaaSTool.site php2shell - Featured on geoly.net php2shell - Listed on SimilarLabs php2shell - Featured on FoundrList php2shell - Featured on Super Launch Best Web Design Companies - OnToplist.com php2shell - Featured on NavifyAI.com php2shell - Featured on ufind.best DokeyAI AIHeron AI Toolz Dir