PHP 5.6 order management system — migrated to modern stack with zero downtime
A regional freight company ran their core order management system on PHP 5.6 with a MySQL 5.5 database and zero test coverage. Deployments required a maintenance window. A single developer understood the system. I migrated the entire stack incrementally over 14 weeks — the system stayed live throughout.
- 0
- minutes of downtime during migration
- 14wk
- total engagement length
- 68%
- test coverage (from 0%)
- 12×
- faster deployment cadence
- PHP 5.6 — end-of-life since December 2018
- 11,000 lines of procedural code, no framework
- Direct SQL string concatenation throughout (SQL injection risk)
- Deployments required 2-hour maintenance windows
- No test coverage — every change was a manual regression test
- One developer with full knowledge, no documentation
- PHP 8.3 with Laravel, PSR-4 autoloading, and Composer
- PDO prepared statements across all database interactions
- CI/CD pipeline with automated tests on every push
- Zero-downtime deployments via blue-green strategy
- 68% test coverage on business-critical paths
- Architecture documented — three developers can now work on it