Modernising a legacy PHP application is not one big rewrite. It is a sequence: understand the system, make it recoverable, close the security holes, move it onto a supported PHP version, add tests, then choose a direction. We have worked on legacy systems since 2003 and follow that order on every engagement.
Six pieces of work, done in a deliberate order, so each one leaves the system safer than the one before.
Every dependency, cron job, integration and server detail written down before anything changes, so nothing is discovered the hard way later.
Tested backups and a way to roll back, before any upgrade touches production.
Known vulnerabilities closed and configuration hardened on the software you run today.
Moving off end-of-life PHP with the custom code adapted to match. See what breaks between PHP 5.6 and PHP 8.
A safety net under the behaviour you cannot afford to break. See adding tests to legacy PHP code.
Composer, a coding standard, static analysis and a CI job added next to the existing code, so the codebase gets easier to live with over time.
The order matters more than any single technique. Teams that start with a framework migration before they have backups or tests often end up maintaining two half-finished systems.
We review the code, the database and the server, and write down what the system depends on and what is at risk.
Working backups, a tested restore and a staging copy, so every later change has a way back.
We close known vulnerabilities and move the system onto a supported PHP version, with the custom code adapted.
Tests where changes are about to happen, then the tooling that makes the codebase easier to work with.
Stay and keep tidying, move gradually to a framework, move to a newer version of your platform, or rebuild. You decide with a written assessment of each option.
Not sure whether to modernise or start again? Read rewrite or modernise, or send us the system and we will tell you honestly.
What we found: what can stay, what should be upgraded, what should be rebuilt, and what each option costs.
The option you choose, carried out in tested steps, with your data and custom functionality preserved.
The system as it now stands, written down so your team and the next developer can understand it. We can stay on for ongoing support if you want it.
Bringing an old PHP application onto supported software and sound foundations without throwing it away: a supported PHP version, closed security holes, tests, documentation and better tooling, followed by a deliberate choice about where the system goes next.
Usually not. Most legacy PHP systems need the work done in the right order, not a rewrite. We assess first and recommend the option that fits your system and budget, and sometimes that option is a rebuild.
It depends on the size of the system, its test coverage, the number of integrations and how far the PHP version has to travel. The first steps are small and the PHP upgrade is where estimates tend to slip, so we scope the work in pieces after looking at the system instead of quoting a fixed price for a system we have not seen.
The work can usually be done and tested on a copy first, and larger systems can be moved gradually, section by section, while the old code keeps serving the rest. We plan the cut-over to limit downtime and keep a way back.
Old 5.x and 7.x releases up to a current, supported version, with the custom code adapted to match. Our guides cover what breaks between versions and how to find it before production does.
Practical write-ups from our engineers on upgrading, testing and fixing old PHP systems.
The sequence we follow, and why each step comes where it does.
Removed functions, constructors that silently stop running, comparisons that flip.
When a rewrite is the right call, when it is not, and a cheap test to find out.
How to build a safety net under tangled PHP without rewriting it first.
Grow the new system next to the old one, with a way back.
Finding every mysql_* call and converting it to MySQLi with prepared statements.
Why the constructor silently stops running, and how to find every affected class.
Why legacy code hit it, how to find every case, and the right fixes.
How to rank the warnings in your log and fix each pattern.
Where it comes from, how to count it in the log and how to fix it.
Looking for ongoing care of an old platform? See our legacy system support.
Start with an honest technical assessment. We will tell you what you have, what it needs, and what your options are.
No sales pitch. Honest assessment. Clear roadmap.