Greatly improve the readability of your code by breaking down complex conditionals
Most developers have probably seen some complex conditionals in legacy code. In this video I show you how to refactor those.
May 24th 2021 freek.dev

A trick to improve your class names
Sometimes it is not clear what the responsibility of a certain class is. This can be solved by adding a suffix to the class name.
May 17th 2021 freek.dev

A package to watch for file system changes in PHP
Our team has released a new package called file-system-watcher. As the name implies, this package can watch changes in the file system and let you act on those changes.
May 12th 2021 freek.dev

A package to watch for file system changes in PHP
Our team has released a new package called file-system-watcher. As the name implies, this package can watch changes in the file system and let you act on those changes.
May 12th 2021 freek.dev

The magic of dedicated exception classes
You can make your code more readable by moving all your exception messages to dedicated classes. We using this technique in all our projects and packages.
May 10th 2021 freek.dev

Dealing with expired signed URLs in Laravel
Out of the box, Laravel comes with the ability to generate "signed" URLs. These URLs have a hash in their query string that verifies that the URL was not...
May 6th 2021 freek.dev

Dealing with expired signed URLs in Laravel
Out of the box, Laravel comes with the ability to generate "signed" URLs. These URLs have a hash in their query string that verifies that the URL was not...
May 6th 2021 freek.dev

Develop faster by adding dev routes file in a Laravel app
Laravel's awesome closure based routing was probably one of the first features I fell in love with. I take it for granted now, but back in the days, such a...
May 5th 2021 freek.dev

Keep controllers clean by using form requests in Laravel
Most people use form requests solely for validation, but they can also help to keep your controllers clean. Here's how we use them in Mailcoach
May 3rd 2021 freek.dev

Exploring Event Sourcing (part 2)
In this stream my colleague Brent and I continued our conversation about the foundations of event sourcing. This time we showed a shopping cart that we've built using Laravel and...
May 3rd 2021 freek.dev