Hi there!
Welcome to the 170th freek.dev newsletter!
Here are a couple of links I hope you'll enjoy as much as I did.
⭐ New major versions for spatie/image and Laravel Media Library have been released
I'm proud of that our new image pacakge, now (almost) has no dependencies. It's also tested in a fancy way using Pixelmatch.
Detecting N+1 issues in your Laravel project with Ray
Learn how to detect and resolve N+1 issues in your Laravel project by using Ray.
Introducing Jira Integration with Flare
Learn how to connect your Flare errors with Jira issues
FrankenPHP with Laravel can do a magical thing
FrankenPHP not only adds the great feature set of Caddy to Laravel, but can also compile everything down to a single executable that you can run anywhere!
Creating a custom Laravel Pulse card
A quick tutorial on how to create a custom Laravel Pulse card
Adding "Stale While Revalidate" functionality to Laravel's Cache
Stale While Revalidate (SWR) is a strategy to first return the data from the cache, then send the fetch request, and finally come up with the up-to-date data.
Caching Strategies In Laravel
When it comes to caching, we have to balance performance gains with increased cost of complexity and infrastructure. In our latest post, we talk through a few different caching strategies and approaches so you know the best caching tool for any situation.
Testing Abstract Classes in PHP using Anonymous Classes
Abstract classes cannot be instantiated directly, posing a challenge when testing functionality implemented within the abstract class itself. In this article, I share my approach to addressing this issue.
Examples of Great URL Design
Here are some cool ways to structure URLs
Rendering Blade components in Markdown
Rendering Laravel Blade components in markdown files.
Simplifying API Integration with Laravel's Http Facade
This article provides a guide on simplifying API integration in Laravel using the Http Facade, with a focus on building a reusable API request and client class.
API Versioning in Laravel
Learn how to version your Laravel APIs properly in this walk through tutorial.
Hands-on decoration
Mastering elation with the decorator foundation! Let's take a look at how we can leverage this simple, yet powerful design pattern in the context of a Laravel package.
Git gud at communication
Communication is an absolutely critical skill for product development. But it's hard and it requires practice and feedback.
PHP attributes in Laravel
Let's create toggleable Laravel routes for specific environments using PHP attributes.
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
Add a custom code sniff with tests to your Laravel project (submitted by Devon Mather)
Optimisation with Offset and Limit. Part 2 (submitted by Bert De Swaef)
First impressions of React Native as a web developer (submitted by Chris Rhymes)
Auditing Laravel Apps: Getting Into the Right Mindset (submitted by Ash Allen)
Securing Laravel forms using Cloudflare's Turnstile CAPTCHA (submitted by Ash Allen)
Public routes blow up Laravel in a surprising way (submitted by Chris Fidao)
Laravel Under The Hood - CSRF (submitted by Oussama Mater)
Generate unique slugs on-the-fly in Laravel (submitted by Boyd Bloemsma)
Autoscaling Queue workers on Fly.io Machines (submitted by Chris Fidao)
Old posts
Here are a couple of links from a while ago!
A recap of 2022
A package to run Google Lighthouse using PHP
How to upgrade to PHP 8.2 on Mac (and Laravel Valet)
Sending transactional mail using Mailcoach in a Laravel app
5 Laravel Packages from Spatie to Help You Create Your Own Blog
Using the shadow DOM as a better iframe
Tailing multiple Laravel logs with Envoy
How to use the Query Builder correctly in Laravel
SDKs, The Laravel Way
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
|