Improving unit test run time in a Laravel modular monolith
Using Laravel’s new traits, WithCachedRoutes and WithCachedConfig, you can significantly reducing test run times.
Read more [cosmastech.com]
Posts tagged with php
Using Laravel’s new traits, WithCachedRoutes and WithCachedConfig, you can significantly reducing test run times.
Read more [cosmastech.com]
Performance monitoring gives you a complete view of what's happening in your Laravel app. The dashboard tracks everything: HTTP routes, queued jobs, Artisan commands, and database queries.
Read more [flareapp.io]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"I’ve been reading freeks newsletter for a while now, and it’s easily one of my favorite developer newsletters. Freek shares practical, no-nonsense insights from running Spatie, maintaining hundreds of open-source packages, and shipping real products. Every time I get useful Laravel tips, smart tooling advice, always high quality and immediately applicable."
– ryangjchandler.co.uk - submitted by Ryan Chandler
Adding fake() methods to your custom facades in applications and packages can provide some nice DX and APIs.
Read more [ryangjchandler.co.uk]
A few experiment by Brent. His process involves using noise generation, specifically the xxHash algorithm, to create a cohesive world map with smooth transitions between land and water using linear interpolation (LERP)
Read more [stitcher.io]
The State of PHP 2025 survey by JetBrains examines how developers use, prefer, and rely on PHP, showing how this long-standing web language continues to modernize through new frameworks, improved tooling, and AI-assisted workflows.
Read more [blog.jetbrains.com]
A good overview of everything coming in PHP 8.5.
Read more [www.phparch.com]
Shawn Hooper enjoys the new presets we recently added to our Laravel CSP package.
Read more [shawnhooper.ca]
I'm really looking forward to PHP 8.5's pipe operator. Here are a few nice use cases.
Read more [amitmerchant.com]
Dynamic method calls can be useful, but they also come with some risks that you should be aware of.
Read more [ashallendesign.co.uk]
– nabilhassen.com - submitted by Nabil Hassen
Laravel 12.32 introduces Http::batch, a clean way to send concurrent HTTP requests with lifecycle hooks for progress, success, failure, and finalization.
Read more [nabilhassen.com]
Laravel Notifications are one of my favourite parts of the framework.
Read more [crnkovic.me]
– doeken.org - submitted by Doeke Norg
Learn how a ClockInterface helps you decouple time and write stable, testable code. It's about time!
Read more [doeken.org]
You can now use our MCP server to connect your AI agent to Flare. This way your AI has all context it needs to diagnose and fix production and performance problems of your PHP, JavaScript and Laravel projects.
In this blog post I’d like to tell you how you can use it, and how it works under the hood.
Read more [flareapp.io]
– wendelladriel.com - submitted by Wendell Adriel
Explore Laravel’s Service Container from the ground up: resolution, binding, scopes, contextual dependencies, auto-wiring, and more, and demystify how your app runs.
Read more [wendelladriel.com]
This is a great way of handling config values.
Read more [cosmastech.com]
– wendelladriel.com - submitted by Wendell Adriel
Learn what the State Machine Pattern is and how to apply it in your PHP applications with this in-depth article about it
Read more [wendelladriel.com]
– nabilhassen.com - submitted by Nabil Hassen
Utilize deferred events in Laravel to delay event dispatching, including model events, ensuring listeners run only after a specific closure has finished running.
Read more [nabilhassen.com]
I've recently rebuilt the SDK for Oh Dear, and thanks to Saloon I had a great time downing so.
Read more [ohdear.app]
I'm excited to share that we've released a new package called spatie/laravel-url-ai-transformer. This one can get the content of a webpage and transform it into something else using AI.
In this blog post, I'd like to share why I've created it and how you can use it.
Joel Clermont shares a nice composer knowledge nugget.
Read more [masteringlaravel.io]