New in PHP 8.6: Faster array_map with first-class callables
In this video, Tideways shows how PHP 8.6 speeds up array_map when you use first-class callables.
In this video, Tideways shows how PHP 8.6 speeds up array_map when you use first-class callables.
– wendelladriel.com - submitted by Wendell Adriel
A practical deep dive into UUIDs, ULIDs, and Sqids, from generation models and sorting behavior to database storage, public IDs, and security trade-offs.
Read more [wendelladriel.com]
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.
"If you are one of the *millions* who have downloaded a Spatie package, then you understand the quality that Freek aims for. The newsletter is of the same quality of any Spatie package you're using."
Mijndert Stuij shares a bunch of practical ways to make your terminal feel instant, from skipping shell frameworks and caching completions to lazy-loading slow tools. A good reminder that tiny bits of latency add up fast when you live in your terminal all day.
Read more [mijndertstuij.nl]
Mattias open sourced a small Caddy module that caches get_certificate HTTP lookups, avoiding a backend fetch on every TLS handshake. A nice write-up on the problem, the design, and the trade-offs.
Read more [ma.ttias.be]
Nick and Dries share how they built Kaartje, a digital postcard wall with a spinning 3D globe that places postcards near the sender's city. It's a fun behind-the-scenes look at the stack, the role AI played during the hackathon, and the performance work needed to render hundreds of postcards smoothly.
Read more [spatie.be]
– daryllegion.com - submitted by Daryl Legion
Validate nested array inputs in Laravel form requests without the N+1. Prefetch lookup data in prepareForValidation and check items in memory.
Read more [daryllegion.com]
A comprehensive look at how new CSS features are replacing JavaScript libraries. Anchor positioning, the Popover API, scroll-driven animations, view transitions, customizable selects, and more. The article estimates around 322 kB of JavaScript that can potentially be replaced by native CSS.
Read more [blog.gitbutler.com]
A clear walkthrough of how PHP closures implicitly capture $this, even when they don't use it, and how that can prevent objects from being garbage collected. Also covers what PHP 8.6 will change with automatic static inference.
Read more [f2r.github.io]
A thorough explainer on how quantization makes LLMs 4x smaller and 2x faster while losing only 5-10% accuracy. Covers floating point precision, compression techniques, and how to measure quality loss, with interactive examples throughout.
Read more [ngrok.com]
Matt Rothenberg walks through how to generate dynamic Open Graph images on Cloudflare Workers. A practical guide covering the full setup from rendering to caching.
Read more [mattrothenberg.com]
Michael Dyrynda found that switching from fill() to set() in Livewire tests reduced his test suite from 22 seconds to 4 seconds. The difference: fill triggers a Livewire round-trip per field, while set batches them into one.
Read more [dyrynda.com.au]
Our laravel-responsecache package speeds up your app by caching entire responses on the server. When the same page is requested again, the cached response is served without hitting your controller at all.
We just released v8, a new major version with a powerful new feature: flexible caching. It uses a stale-while-revalidate strategy, so that every visitor gets a fast response, even when the cache is being refreshed.
Let me walk you through it.
Ray 3.0 is here! Completely rebuilt for better performance (60% less memory), a fresh new look, message archiving, and MCP support so AI agents can interact with Ray directly.
Read more [myray.app]
Brent continues his optimization journey processing 11 million database events. Starting from 50k events per second, he implements combined inserts, skips unnecessary deserialization, and reaches 400k events per second. A great deep dive into PHP performance optimization.
Read more [stitcher.io]
The final part of Oh Dear's series on SQL performance. Mattias introduces phpunit-query-count-assertions, a package that catches N+1 queries, duplicate queries, and missing indexes in your test suite. Since implementing this at Oh Dear, they've eliminated 15% of their SELECT queries.
Read more [ohdear.app]
– youtu.be - submitted by Bert De Swaef
Livewire 4 introduces powerful new features that make building Laravel applications even better.
Read more [youtu.be]
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]
– nabilhassen.com - submitted by Nabil Hassen
Laravel 12.35 introduces the deferred queue driver, allowing queued jobs to run right after the HTTP response is sent.
Read more [nabilhassen.com]
Mattias delves into optimizing SQL queries using indexes, focusing on MySQL 8.0. He explains how indexes work, how to analyze slow queries using MySQL’s EXPLAIN keyword, and the impact of different index configurations on query performance.
Read more [ohdear.app]