Benefits of writing clean, maintainable code.

jump24.co.uk - submitted by jamie peters

We all strive to write good code when we jump onto a project but sometimes do you wonder why?

The post covers

  • Why you should write clean code
  • Techniques for writing cleaner code

The techniques here are useful for all level of developers and worth a quick skim over as we all nothing wrong with a quick refresher

Read more [jump24.co.uk]

Join 9,500+ smart developers

Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.

No spam. Unsubscribe anytime. You can also follow me on X.

A package to display solutions on the Laravel error page original

by Freek Van der Herten – 7 minute read

When Laravel switched to a simpler exception page, the ability to display solutions for an exception was lost.

Our latest package, called spatie/laravel-error-solutions brings back that powerful feature. When installed, it will display solutions for most common exceptions.

Here’s how that looks it:

And yes, some solutions, like the one in the screenshot above, can be executed on the exception page too.

In this blog post, I’d like to tell you all about it!

Read more