PHP
Upgrading to native PHP enums
Tomas Votruba explains how you can refactor old enum classes (from Spatie and MyCLabs) to native PHP enums Read more
Tomas Votruba explains how you can refactor old enum classes (from Spatie and MyCLabs) to native PHP enums Read more
Use the Stripe CLI with Laravel Valet to listen to webhooks locally. Read more
Dave Calnan has been using Remix in production for about 6 months now and has decided to add a Laravel backend to the stack. Here’s what he’s learned from the process. Read more
There are a couple of nice ideas there to solve longstanding problems with UUIDs Read more
In this post, we will learn how to convert XML to JSON. We can convert XML to JSON by using PHP inbuilt function. These functions are simplexml_load_file and json_encode. What is simplexml_load_file? This function converts Read more…
What’s the best lossless image format? Comparing PNG, WebP, AVIF, and JPEG XL Read more
Laravel gives you the flexibility to choose the structure of controllers yourself, which is both a blessing and a curse. You won’t find any recommendations in the official Laravel docs, so let’s try to discuss Read more…
Ever needed to work with an SDK and wished you could use Http::fake() in your Laravel tests? This blog post explains how you can achieve this for the Facebook Business SDK using the Adapter pattern. Read more…