Services

Legacy PHP and CakePHP upgrades, while the system keeps running

Old PHP and CakePHP applications that nobody wants to touch: taken over, covered with tests, upgraded in steps and switched over without your users noticing.

What I do

  • Tests first, so the upgrade can't silently change behaviour
  • CakePHP 3/4 to CakePHP 5, PHP 7 to PHP 8.5
  • Security fixes: SQL injection, CSRF, access rights
  • Gradual moves to Laravel and data migrations (even from MS Access)
  • Taking over systems without documentation, with the original developer gone

How an upgrade runs

First I write automated tests on the old version, so there is a record of how the system behaves today. Then I upgrade in steps, and each step only goes ahead when the same tests still pass. On staging, old and new are compared on real data: PDFs, exports, imports and totals.

Go-live happens outside office hours, with a written plan, a database copy from right before the switch and the old version ready to restore. After go-live I read the logs myself and fix what shows up before a user runs into it.

One upgrade, in numbers

A live order system for a Dutch e-commerce company went from CakePHP 3.6 on PHP 7.4 to CakePHP 5.4 on PHP 8.5: 353 automated tests, 581 files changed, six days from first commit to live, and no errors for users since. Along the way I fixed security holes nobody had asked about.

Read the full case study →

Projects where I did this

Legacy PHP upgrade: CakePHP 3.6 / PHP 7.4 to CakePHP 5.4 / PHP 8.5

Legacy PHP upgrade: CakePHP 3.6 / PHP 7.4 to CakePHP 5.4 / PHP 8.5

Sole developer · tests, upgrade, security fixes, go-live

Upgraded a Dutch e-commerce order management system (orders, stock, delivery routes, courier mobile use, webshop webhooks) in under two weeks.

More detail

I first wrote 353 automated tests capturing the old behaviour, upgraded in steps, and compared old vs new on real data: PDFs, Excel exports, stock of 1,535 products. Switched over outside office hours, with no user errors since. Along the way I fixed SQL injection in list filters, leaked password hashes, missing CSRF and page rights, and duplicate webhook orders.

Read how it went, step by step →

CakePHP 5PHP 8.5PHPUnitSecurity
Legacy e-commerce order system + safe AI email assistant

Legacy e-commerce order system + safe AI email assistant

Sole developer and technical owner

Took over an unmaintained CakePHP order management system for a webshop, documented it and kept extending it: webshop webhooks, supplier product sync, quotes to orders, stock reservations, VAT rules for sales abroad, profit reporting.

More detail

Then added an AI email assistant as a separate Laravel service (Claude) inside the team's email client: it only drafts, it is instructed never to invent prices or stock, every exchange is logged, and a person reviews and sends every reply.

CakePHPLaravelClaude APIIntegrations
Investor portal + mobile app, migrated from MS Access

Investor portal + mobile app, migrated from MS Access

Lead developer · backend, frontend, mobile and data migration

An investment firm ran its investor administration from a Microsoft Access database.

More detail

I designed a new schema, wrote a migration tool that imported all history into MySQL, and built a Laravel API with an Ionic/Vue portal that is also an iOS/Android app. Investors view holdings and submit subscriptions and redemptions; admins approve, manage prices, run KYC and generate PDF reports. 2FA, encrypted fields, audit trail and e-signing. In production since 2022.

LaravelIonicVueMySQLData migration
A small first step

Code review for a fixed €950

Not sure what state your system is in, or what an upgrade would take? I read the code and tell you, in writing, before you commit to anything bigger.

  • I read the code and the dependencies of one application
  • A written report in plain language: what is out of date, what is risky and what is fine
  • Security findings, ordered by how urgent they are
  • A step-by-step plan for the upgrade or repair, with a fixed quote
  • A call to walk you through it
€950
excl. VAT, one application

If you order the work from the report, the €950 is deducted from that invoice.

Is your system very large? Then I tell you before I start, not afterwards.

Ask for a code review