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

Running PHP code in parallel, the easy way
Less is more. You've heard that before, right? Keep it in mind, I'm going to show you something. There are a few good and robust solutions to run PHP code...
Apr 28th 2021 stitcher.io

Easily test large chunks of output using snapshots
In this video we'll take a look at how large chunks of output can be tested in Mailcoach using snapshots.
Apr 26th 2021 freek.dev

Why we use `!important` with Tailwind
Tl;dr: We use !important because it solves annoying specificity issues. Despite being overkill in most situations, we haven’t come across any practical drawbacks from globally enabling it. If you want...
Apr 21st 2021 sebastiandedeyne.com

Injecting extra data in the payload of queued jobs in Laravel
I'm proud to announce yet another package by our team: spatie/laravel-interacts-with-payload. This one, which was inspired by a blog post by James Brooks, can inject data in all...
Apr 20th 2021 freek.dev

Controlling the flow of time in your tests
Our test-time package makes writing tests, for code that makes its decisions based on the current time, very easy. Here's how we use the package for some tests in
Apr 19th 2021 freek.dev

File watching with chokidar
File watchers are powerful tools. We take them for granted because they’re often baked in, like Webpack rebuilding when you save a file. Sometimes I’m in an environment without auto-reloading...
Apr 16th 2021 sebastiandedeyne.com