Automated PHP upgrade pipeline for WordPress agencies
Clones a legacy WordPress site onto modern PHP, auto-fixes common incompatibilities, and reports exactly what breaks before you flip the switch.
A ready-to-paste brief for Claude Code, Cursor or any coding agent.
Overall6.5/10
Pain7
Willingness to pay6
Timing8
Gap6
Moat5
Feasibility7
For
- Who pays
- Freelance WordPress maintainers and small agencies managing 50–300 legacy client sites, paying $15–40 per migrated site or $200–500/mo tiers from their existing maintenance-retainer budgets.
- What people said · 3
- Maintains roughly 50 decade-old client WordPress sites and constantly hand-patches small incompatibilities with newer PHP, billing clients for larger upgrade work. Read the comment ↗
- Manages over 300 sites that stay on outdated environments because clients cannot afford the cost of manual upgrades. Read the comment ↗
- Describes how PHP 8.x deprecations (parameter ordering, dynamic properties) break old code and force people to take only the tiniest upgrade steps, plus the pain of compiling patched PHP from source. Read the comment ↗
Paraphrased from the discussion. Follow the links for the original comments.
- Competitors and gap
Existing tools either keep clients on patched-but-ancient PHP, refactor generic PHP code without WordPress plugin/theme awareness, or automate WP core updates without touching the PHP runtime bump. Nothing packages the full per-site workflow — clone to staging on a target PHP version, apply known deprecation autofixes, crawl for fatals and visual regressions, and produce a client-presentable break
- Why now
- PHP 8.2 (22% of all WordPress sites) hits end of life in weeks, and major plugins like WooCommerce have begun dropping old PHP, so sites lose security fixes through the plugin channel even when hosts backport PHP. Meanwhile LLM-assisted code fixes make the deprecation-repair step newly automatable, as commenters in this thread are already doing ad hoc.
- Moat · 5/10
- Accumulating a library of WordPress-specific breakage patterns and fixes across thousands of real plugin/theme combinations, plus integration into agency billing/reporting workflows, creates switching costs a generic linter can't match.
Against
- Red team
- Agencies with hundreds of legacy WP sites have recurring billable pain, and the WordPress-specific clone-fix-crawl-report workflow across plugin/theme combinations is a real gap generic Rector and host-side tools don't cover.
- What would kill it
- The cheapest sites (the bulk of the long tail) get abandoned or moved to hosted platforms instead of upgraded, so the per-site price agencies can pass through stays too low to build a business on.
Start
- First three steps
- Build a CLI/dashboard that clones a site to an isolated container on PHP 8.3+, runs PHPCompatibility plus a curated Rector ruleset for the top 50 plugins' known deprecations, and applies safe autofixes.
- Add an automated crawl of the staging clone that captures fatal errors, warnings, and screenshot diffs versus production, outputting a pass/fail report per site.
- Ship a batch mode and per-site PDF report an agency can attach to a client upgrade quote; onboard 5 pilot agencies from WP freelancer communities.
- Source discussion
- Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan ↗ 242 points108 commentsFrom the commentsLinked article