Hi there!
Welcome to the 159th freek.dev newsletter!
Wow, we're already at the end of 2022. Like previous years, I'd like to take some time to look back on the things I did the past 12 months and I wrote a lengthy recap post, which you can find below.
I hope it was a good one for you, and that 2023 has good things in store for everybody.
Here are a couple of links I hope you'll enjoy as much as I did.
⭐ A recap of 2022
Here's a nice overview of my personal achievements, and the things done at Spatie and Oh Dear in the past twelve months.
⭐ A package to run Google Lighthouse using PHP
Our newest package, spatie/lighthouse-php makes it easy to create Google Lighthouse SEO reports using PHP.
⭐ The making of the WWSD videos
We published a fun series of videos as a promo for our Black Friday sales. These videos are inspired by the more recent apple announcement videos. Let's take a look behind the scenes to see how they were made!
⭐ How to upgrade to PHP 8.2 on Mac (and Laravel Valet)
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.
⭐ Sending transactional mail using Mailcoach in a Laravel app
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.
⭐ 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.
5 Laravel Packages from Spatie to Help You Create Your Own Blog
I use all of these on freek.dev as well :-)
Writing declarative PHP
What declarative programming is, and how to include more of it in your PHP code base.
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.
Always use closed, open intervals
A good tip by Fernando Hurtado
Tailing multiple Laravel logs with Envoy
A pretty cool use case for Laravel Envoy.
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.
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().
Unique jobs and reserving resources on the queue
Tim MacDonald wrote a nice post on how to handle duplicate requests.
Community links
In this section you'll find links submitted by others. Let me know if you did write or stumbled across a blog post, tutorial or video that might be interesting to appear in this section
Livewire Public Property Abuse (submitted by Mark Snape)
🏃🏻How I run Integration Tests for my WP plugin using Lando and InstaWP (submitted by Leonardo Losoviz)
Sessions vs Tokens: How to authenticate in Node.js (submitted by Rishabh)
Laravel HTTP Client Request Response Statistics (submitted by Aniket Magadum)
Laravel nova file manager (submitted by Mikaël Popowicz)
Laravel Hidden Feature - Responsable Interface - No More Duplicate Code (submitted by Ashish Dhamala)
2022: A year in review (submitted by Ryan Chandler)
nvm for php: phpbrew (submitted by Peter)
Old posts
Here are a couple of links from a while ago!
Create a Solana dApp from scratch
Grinding to $1,000,000 in revenue over 6 years
20 years of Bram.us
What's new in Tailwind CSS v3.0
Silently validating a Laravel request
Fixing the dreaded "'pcre2.h' file not found" error when installing imagick
Heaps explained in PHP
12 must-see talks if you want to become a better Laravel developer
Laravel Pseudo-Daemons
Filtering Carbon Period For Flexibility And Performance
How we improved Flare in 2021
A Laravel package to monitor the health of your application
A bash function to run tests for both PHPUnit and Pest
Did you like this newsletter?
I take a lot of time curating the right links for you. You could do me a favor by either spreading the word and letting others know about my newsletter.
Alternatively, you could consider picking up one of the paid products my team and I have worked on:
If you have any questions, remarks or thoughts about this newsletter, simply hit reply!
Thank you so much for reading!
Freek
You are receiving this newsletter because you subscribed at freek.dev
Unsubscribe from this newsletter
This mail was sent using Mailcoach
|