What I do · Legacy upgrades
Old systems, brought up to date one piece at a time.
Code that works and that nobody wants to touch. I replace it a piece at a time, and each piece is checked against the original before the next one starts.
What I have done
- A full rebuild, one module at a time. A business ran on an old WordPress install, with years of procedural PHP written straight into the theme templates. I rebuilt it in Laravel from the ground up, replacing one module at a time while the old one kept running.
- Logging, added as each piece moved. The old code logged nothing. Each module got logging on its way over, with everything one run does kept together as one record. That became my package Laravel Log Containers.
- Sentinel checks on the business, not the code. Alongside the logging, a monitor checked business outcomes around the clock, whatever code produced them. Because the checks did not care about the code, I was free to replace whole sections of it, refactoring piece by piece into something far better, while making sure the outcome the business depended on never changed. Each check is one simple PHP class.
- Click systems, rebuilt as rules. Each one lived in one long script. Each is now a list of small named rules, and every click leaves a record of why it was accepted or refused. The rule engine is my package Pipe Dream.
- Old scheduled jobs, replaced in shadow. Each old job got a switch at the top of its file: old, shadow or new. In shadow the rewrite runs beside the original on live data, through a database connection that cannot write. The two are compared, and the switch to new happens only when they agree.
What I can do for you
- Move an old PHP application onto Laravel without a big-bang rewrite.
- Replace the scheduled jobs everyone is afraid of, one at a time, each proven against the original on live data.
- Upgrade PHP and framework versions in small steps, each one checked before the next.
- Add the logging the old system never had, so you can see what it does before you change it.
Old code that still runs has earned some respect. It knows things nobody wrote down, which is why I don't rewrite it in one go. I move it a piece at a time, check each piece against the original, and leave you with the logging it never had.
If you have a system everyone is afraid to touch, I would like to hear about it.
Also what I do