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

A lightweight solution for running PHP code concurrently
Our team released a new package called spatie/fork. Using this package you can easily execute multiple pieces of code concurrently. In this example, where we are going to call an...
May 3rd 2021 freek.dev

Laravel Worldwide Meetup #8: Using Vite in Laravel & How to optimize your DB indexes
Here's the recording of Laravel Wordwide Meetup #8. My guests for this edition were Kai Sassnowski talking on the importance of DB indexes, and Sebastian De Deyne on how to...
Apr 28th 2021 freek.dev

Laravel Worldwide Meetup #8: Using Vite in Laravel & How to optimize your DB indexes
Here's the recording of Laravel Wordwide Meetup #8. My guests for this edition were Kai Sassnowski talking on the importance of DB indexes, and Sebastian De Deyne on how to...
Apr 28th 2021 freek.dev

How Flare's GitHub integration works under the hood
Last week, my colleague Ruben and I launched a major new feature at Flare: there's a new integration with GitHub that makes it possible to: create a GitHub...
Apr 28th 2021 freek.dev