Hi there!
Welcome to the 189th freek.dev newsletter!
Here are a couple of links I hope you'll enjoy as much as I did.
⭐ How to Make Your AI Agent Program PHP and Laravel with Grace and Style
We've converted our PHP and Laravel coding guidelines into AI-friendly instructions so Claude Code and other AI agents can generate code that matches our established programming style.
⭐ How to monitor your Laravel app for critical vulnerabilities
A critical security vulnerability was just disclosed for Livewire v3, as Stephen Rees-Carter wrote about on Securing Laravel. Here's how you can continuously monitor for such vulnerabilities.
⭐ Introducing spatie/ping and spatie/simple-tcp-client
We just tagged stable release for two new spatie packages: spatie/ping and spatie/simple-tcp-client. In this blogpost, I'd like to share why these were developed and how you can use them.
Laravel Serializable Closure: serialize the unserializable
PHP doesn’t let you serialize closures, but Laravel does, thanks to an underrated package that’s built into the framework.
Laravel Headless API + React Frontend: Full Stack Tour de France Tutorial
🚴♂️ Build a Full Stack App with Laravel + React!
In this tutorial, you'll create a Laravel Headless API and connect it to a React frontend to display 2025 Tour de France etappes (stages).
Pipe Operator |> PHP 8.5
The pipe operator will improve your code readability and composition in PHP. Understand the current approach and what future will look like.
Stop Ignoring Important Returns with PHP 8.5’s #[\NoDiscard] Attribute
The #[\NoDiscard] is a safety feature for PHP developers, making it easier to catch mistakes where ignoring a function’s return value could lead to bugs.
Exploring Coroutines in PHP
The term "coroutine" often comes up when talking about asynchronous or non-blocking code, but what does it actually mean?
Preventing scrollbar layout shifts
Have you ever been on a website and navigated between pages, only to notice that the layout shifts slightly because the scrollbar suddenly appears on longer pages?
The Custom Tenant Code Nightmare (And How to Wake Up)
You're three months into a new job when someone mentions "we have a dozen different branches for our customers." Learn how to escape the custom code nightmare with four proven patterns that actually scale, plus real Laravel examples.
Caching is an Abstraction, not an Optimization
Some interesting thoughts about caching.
Continuous AI in software engineering
Continuous AI in software engineering involves integrating AI tooling automatically into existing development flows, such as automated PR reviews, issue labeling, and daily summaries.
Recreating Laravel Cloud’s range input with native HTML
Making a visually appealing range input based on Laravel Cloud's design, native HTML and only a few lines of JavaScript.
The work is never just “the work”
A deep dive on why projects always take longer and a framework to improve future estimation
The Grug Brained Developer
say: complexity very, very bad
Developer Tooling #004
Your monthly dose of tools as selected by Patrick
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
Check if a Signed URL is Valid in Laravel Tests (submitted by Ash Allen)
eslint-plugin-php (submitted by Evyatar Daud)
4 Ways To Prevent Race Condition in Laravel (submitted by Karan Datwani)
Action Pattern in Laravel: Concept, Benefits, Best Practices (submitted by Nabil Hassen)
How to Test Laravel Socialite Endpoints (submitted by Nabil Hassen)
Laravel Rate Limiting — Explained with Real-Life Examples (submitted by Karan Datwani)
Old posts
Here are a couple of links from a while ago!
Geography in Laravel: retrieving geographical data
Data Fetching Patterns in Single-Page Applications
Participate in the State Of Laravel Survey
Testing Saloon API Integrations in Laravel
How to test all routes in your Laravel app by writing just a single Pest test
A package to use Filepond in your Livewire component
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
|