Testing is almost always difficult when developing applications that interact with external services,...
We're upgrading from Laravel 9 to 10, and PHPUnit 9 to 10, and, if all goes well, we'll top it off by...
GitHub's 2000 minutes per month of free usage of GitHub Actions is usually enough to handle light...
A nice refactoring I've learned recently is to utilize types in conditionals. For years I’ve been...
Laravel 10 is making the headlines these days. However, many apps are stuck in older versions, or at...
One of the first roles that I've been working on since I went full-time remote was that of the unit...
Various guides exist on how to do this in Laravel, but all the ones I found (this and this) worked...
I have to say it from the start, the only thing that comes close to safely upgrading a codebase is...
It's important to take a good look at your code and clean up when you're done with it. Once in a...
Continuing from the last post, we're now exploring other Rector configurations that help us improve...
I recently discovered Rector and was completely blown away by its power and effectiveness. The...
The latest feature we added to OLM is the ability to make yourself known to the world using your...
We recently pushed a new improvement at OLM to reward admins with XP for verifying uploaded images....
Say we want to display the number of users that signed up in the last years, for each month. It's not...
Countless are the times I've had to test for validation errors, and countless are the times I've...
You’ll often notice in various projects that code behaves differently depending on the environment....
We have a console command at Openlittermap that takes all the litter locations in the world and...
A major pain point in programming is having to deal with all the clutter that is shoved into...
Apple released a new image format called HEIC/HEIF, and it broke many apps that handle image...
Take a look at this little method below. Three issues come to mind the first time you see it....
You’ve seen typewriter animations. You’ve seen the power of Highlight.js. Now you’re seeing the...
Before we start with the second part of testing our fat controller, let's clarify what we should have...
Many new products launching out there don't embrace a TDD approach. It's the norm that code is pushed...
Some might consider Laravel model testing to be a gruesome task, especially when there's plenty of...