
Refactoring Legacy Laravel Code in Small, Safe Steps (With Real Examples)
A few months ago, I wrote about testing legacy Laravel code without refactoring first. We took an ugly controller method, didn’t touch a single line, and wrapped it in integration tests. That article ended with a promise: once the tests…
