Skip to content
arcodo

003 · Services

Legacy PHP modernization without stopping your business

Upgrade old PHP applications to supported versions and migrate Zend, Yii or custom code to Laravel step by step, with tests in place first and no downtime.

Book a free consultation →
rector.php
return RectorConfig::configure()
    ->withPaths([__DIR__.'/app', __DIR__.'/legacy'])
    ->withPhpSets(php84: true)
    ->withSets([LaravelSetList::LARAVEL_120])
    ->withPreparedSets(
        deadCode: true,
        typeDeclarations: true,
        earlyReturn: true,
    );

Legacy PHP modernization is for applications that still earn money but have become risky to touch: PHP 5 or 7, an unsupported framework, no tests and a growing list of “don’t change that” areas. Arcodo upgrades these systems to supported PHP and Laravel versions and migrates them step by step, while the business keeps running. It is a calmer alternative to the big rewrite that so many teams start and so few finish.

Why old PHP applications become a business risk

  • Security. Unsupported PHP and framework versions stop receiving patches. Auditors, enterprise customers and insurers increasingly ask about it.
  • Hosting pressure. Providers drop old PHP versions or charge for extended support.
  • Slow change. Every feature takes longer because nobody knows what depends on what, and there are no tests to catch regressions.
  • Hiring. Few engineers want to work on an undocumented Zend 1 codebase, and those who do are expensive.

The outcome of modernization is the opposite of each point: a supported stack, predictable hosting, changes that take days instead of weeks and a codebase any experienced Laravel developer can pick up.

What you get

  • An audit report: the state of the code, infrastructure and dependencies, the main risks ranked by business impact, and a staged plan with estimates.
  • A safety net of tests around the critical business flows before anything is changed.
  • Supported PHP and Laravel versions, upgraded in controlled steps.
  • Modules migrated to Laravel one at a time, with the old code removed as it stops being used.
  • Automated deployments with rollback, replacing manual file uploads.
  • Documentation of the business rules discovered along the way.

How modernization runs

  1. Free consultation. What the application does, what hurts most and what constraints exist (deadlines, compliance, hosting).
  2. Audit. Code, database, dependencies and deployment are reviewed. You get the report and a staged plan.
  3. Tests first. Characterisation tests capture what the system does today, so changes can be verified rather than hoped for.
  4. Upgrade and migrate in stages. PHP and dependency upgrades, then module-by-module migration to Laravel using a strangler approach: new code grows around the old until the old can be switched off.
  5. Automate and hand over. CI/CD, monitoring and documentation, so the system stays healthy after the project.

Zend to Laravel migration, or just a PHP upgrade?

Not every application needs a framework migration. If the code is reasonably structured, upgrading PHP and dependencies may be enough for several years. If the framework itself is unsupported, or the codebase is a homegrown framework nobody understands, a gradual migration to Laravel usually pays off. The audit gives you that recommendation with reasons, not a default answer.

Working alongside your team during the migration

Modernization often happens while an in-house team keeps shipping features. The migration plan is agreed with that team: which modules move when, how code review works on both sides and where the boundary between old and new code sits each month. Knowledge transfer is part of the job, so your developers understand the new structure and can continue without external help. Progress is reported in writing every week, with the modules migrated, the tests added and the risks that changed, so stakeholders who don’t read code still see where the money goes.

Modernization with AI-assisted tooling

This is where AI tools help the most. They speed up reading large unfamiliar codebases, mapping dependencies, drafting characterisation tests and handling repetitive refactors, alongside deterministic tools like Rector and static analysis. Every change is reviewed by a human and verified by tests before it ships, and your code is not shared with third-party AI tools without your consent. The full picture is in the article on AI-assisted legacy PHP modernization.

When this isn’t the right fit

  • The application is about to be retired. If it will be replaced by an off-the-shelf product within a year, minimal maintenance is cheaper than modernization.
  • You want everything modernised in one big release. That is exactly the risk this approach avoids; if a single cut-over is a hard requirement, it should be discussed openly first.
  • The system isn’t PHP. The approach is the same, but the expertise here is PHP and Laravel.

After modernization, many teams continue with custom SaaS and web application development or put a proper backend API on top of the modernised core. If you are wondering whether AI could automate parts of the old workflows, see AI integration and automation. The stack is listed on the technologies page, and you can describe your application on the contact page.

Technology stack

  • PHP
  • Laravel
  • Zend Framework, Yii2
  • PHPUnit & TDD
  • PHPStan / Larastan, Pint, Rector
  • MySQL / MariaDB
  • Claude Code, GitHub Copilot, OpenAI Codex

Frequently asked questions

001

Should we rewrite the application from scratch?

Rarely. A full rewrite freezes new features for months and loses business rules nobody wrote down. An incremental migration keeps the system running and delivers value at every step. A rewrite is recommended only when the audit shows there is genuinely nothing worth keeping.

002

How is a modernization project estimated and priced?

It starts with an audit, after which the work is split into stages with their own estimates. Stages can be fixed price once well understood, or time and materials where the code holds surprises. The estimate and the audit findings come in writing; amounts depend entirely on the codebase.

003

Will the application be down during the migration?

No planned downtime is the default. Old and new code run side by side, traffic moves module by module and every release can be rolled back. Database changes are done in backward-compatible steps.

004

Who does the work?

One senior specialist runs the audit and carries out the migration end to end, as your direct technical contact. No account managers and no hand-off to juniors halfway through.

005

Can new features be delivered during the modernization?

Yes, and they usually should be. New features are built in the modern part of the codebase, so the migration pays for itself along the way instead of being a cost centre with no visible output.

006

Do you sign an NDA before seeing our code?

Yes. An NDA is signed before code access, access is limited to what the audit needs, and intellectual property in all new code is assigned to you.

Next step

Let’s talk about your project

A free 30-minute consultation about your idea or your existing application. Afterwards you get an initial estimate and a proposal for next steps.

Book a free consultation →

Related services

001

Web apps & SaaS

Custom SaaS development and web applications built with Laravel and Vue.js, from a focused MVP to a multi-tenant platform with billing, roles and integrations.

002

Backend & REST API

REST APIs and backends in Laravel for web and mobile apps and B2B integrations, with OAuth2, versioning, documentation and automated tests from the first endpoint.

004

Websites & WordPress

Fast company websites on WordPress with a custom theme written from scratch, or static sites without a CMS, with technical SEO and Core Web Vitals built in.

005

AI integration & automation

Assistants over your company knowledge, document and e-mail processing, ticket routing, AI features in your web app, and hardening AI prototypes for production, with cost and data under control.