News

Laravel refactoring hell

Published

Miroslav Trnini? writing about taking over a Laravel project:

That code was everything else except human readable and maintainable. Let me be more expressive – it was worst nightmare that can happen to a developer. It was big ball of mud. But very low quality mud – not the mud that you can wash easily – but stinky mud. Almost crap.

I’ve been in this situation before too. It’s painful and it’s hardly Laravel specific. Pick any framework and I can guarantee you will find crap code. We are all creatures of habit and unless we constantly strive to improve we will keep doing things the same way.

He goes on to say:

That leads me to conclusion that the community should somehow consider Laravel certification. All big framework are certified – so why not Laravel ?

I’m not in agreement with this. I’ve seen “certified” devs write just as sloppy code. At the end of the day some developers care about the craft, others don’t. Not much you can do about it. Here is a great quote that sums it up nicely:

It's harder to find someone who cares than it is to find someone who codes.

— Carl Smith (@carlsmith) March 14, 2014

One thing I do think we both agree on is that if you or your company is using Laravel then subscribing to laracasts is a must.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Filed in

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Generate Laravel Validation Rules From a JSON Schema image

Generate Laravel Validation Rules From a JSON Schema

Read article
Laravel Suspicious Login: Detect and Block Risky Logins image

Laravel Suspicious Login: Detect and Block Risky Logins

Read article
Decide with Jev: Make Failed AI Requests Safe in Laravel image

Decide with Jev: Make Failed AI Requests Safe in Laravel

Read article
Black Friday: Learn the habits behind AI workflows that work image

Black Friday: Learn the habits behind AI workflows that work

Read article
Laravel Black Friday and Cyber Monday Deals 2026 image

Laravel Black Friday and Cyber Monday Deals 2026

Read article
pgjumbo: A PostgreSQL Client for macOS, Windows, and Linux image

pgjumbo: A PostgreSQL Client for macOS, Windows, and Linux

Read article