PHP modernisation

Old PHP application? Rebuilt, tested and supported again

Many business systems still run on PHP 5, PHP 7 or an early PHP 8, often on code written before frameworks, tests or prepared statements were normal. We rebuild them on a supported stack, prove the result with automated tests and move your data across with every record reconciled.

Why move now

PHP 7.4security support ended 28 November 2022
PHP 8.0security support ended 26 November 2023
PHP 8.1security support ended 31 December 2025
PHP 8.2end of security support: 31 December 2026
PHP 8.3 to 8.5supported; 8.3 gets security fixes until 31 December 2027

Source: the PHP project's supported-versions page. PHP 5 has had no security fixes since the end of 2018.

The everyday problems

  • Code that calls the old mysql_* functions cannot run on PHP 7 or later, so it is stuck on an unpatched version.
  • Hand-built SQL strings and MD5 password hashes are common in older PHP and are open security risks.
  • Without tests, every upgrade or fix is a gamble, so changes slow down and the system gets harder to keep.

Our own legacy platform had all three: the old mysql_* database functions in 116 files, md5() in 25 files, including for passwords, and no automated tests.

What we rebuild it into

We recommend rebuilding old PHP on TypeScript, Next.js and PostgreSQL, the stack of our own platform, or on current PHP or .NET if that suits your team better.

Rebuilt with tests; you approve each stage. Our engineers use AI to read your PHP and write the replacement and its tests; a named person directs and checks the work, and nothing moves on without your sign-off.

We build and test with made-up data, and the pilot runs on it too. Your real data is used only for the migration and its rehearsals, which include the parallel run, in an environment you approve. During the build it is never given to AI tools; during the migration and its rehearsals, AI tools work on it only inside that environment.

How the move works

The assessment (A$5,000 to A$50,000 + GST; usually 1 to 2 weeks, longer for complex systems) maps every script, include, cron job and mysql_* call, and tells you whether an upgrade or a rebuild costs less. A 3 to 4 week pilot rebuilds one real part end to end with its tests. The rebuild typically takes 6 to 12 weeks and then runs in parallel with the old system, before a rehearsed, reconciled migration, the cut-over and 90 days of support.

We used the same engineering on our own survey platform, the only rebuild we have completed so far: 93,663 lines of PHP 5 rebuilt as Thisys Loop, in production 25 days after the first commit and covered by 42,623 unit and 6,464 browser tests on 6 November 2026. It took about 14,000 person-days to build the first time and under 40 founder person-days to rebuild with AI (to 8 October 2026, QA time and AI costs not included); your project's length is set in the assessment. Its data moved live on 10 October 2026 and reconciled with 0 unexplained gaps. See how we work for the detail of each stage.

Common questions

Can you just upgrade our PHP version instead of rebuilding?

Sometimes, yes. If the code is in reasonable shape, an upgrade to a supported PHP version with tests added can be the cheaper path. The assessment tells you which option fits and what each costs.

Which PHP version would an upgrade target?

PHP 8.4 or 8.5. PHP 8.4 gets security fixes until 31 December 2028, and 8.5 until 31 December 2029.

Our PHP has no framework and no tests. Is that a problem?

No. That is a common starting point, and it was ours. We read the code, write down what it actually does, and the rebuild gets the tests the old system never had.

Will our users have to learn a new system?

Only as much as you choose. We can keep screens and workflows close to what people know, or improve them where they have been getting in the way.

Find out whether to upgrade or rebuild

Tell us which PHP version it runs on, what it does and what is worrying you. We reply within two business days.