PHP
★ How to upgrade to PHP 8.2 on Mac (and Laravel Valet)
[AdSense-A]
Now that PHP 8.2 has been released, it's time to upgrade the PHP of your Mac.
If you're using Brew - which you probably are - there are only a few steps involved.
PHP
How to use the Query Builder correctly in Laravel
In this video we’re having a look at the Query Builder, and how to use it correctly. We’re optimizing our performance by a. lot of request time, models loaded and memory used. Read more
PHP
★ Sending transactional mail using Mailcoach in a Laravel app
[AdSense-A]
I'm proud to share that we've released two new packages: spatie/laravel-mailcoach-mailer (for Laravel apps) and spatie/mailcoach-mailer (for all other PHP based apps).
Using these two packages, you can send transactional mail through Mailcoach Cloud.
In this blog post, I'd like to share how you can use these packages and how they work under the hood.
PHP
SDKs, The Laravel Way
Each call to the builder will modify the underlying pending request. Every modification, another link in the chain, that will be sent, finally, with get(). Read more
PHP
5 Laravel Packages from Spatie to Help You Create Your Own Blog
I use all of these on freek.dev as well 🙂 Read more
PHP
★ Using the shadow DOM as a better iframe
Here’s how we use the Shadow DOM to ensure layout from page doesn’t affect the layout of a component. Read more
PHP
Writing declarative PHP
What declarative programming is, and how to include more of it in your PHP code base. Read more
PHP
Unique jobs and reserving resources on the queue
Tim MacDonald wrote a nice post on how to handle duplicate requests. Read more
PHP
Dynamically Generating Thousands of OG Images for a Viral Twitter Campaign
Fascinating read by Aaron Francis on how he used Netlify to generate dynamic OG images. Read more