|
Hi there!
Welcome to the 198th freek.dev newsletter!
I had a very productive past two weeks where I could spend some time creating a few new packages and upgrade a few existing ones. Feels good to be on top of things on the open source side.
I've also added the first newsletter testimonials on my blog. If you like this newsletter, simply reply to this mail with your testimonial and I'll add it too. Here's an example of how they are displayed:

That being said, here are a couple of links I hope you'll enjoy as much as I did.
⭐ My Claude Code setup
I've been using Claude Code as my daily driver for coding tasks. Over time, I've built up a pretty specific configuration that makes the whole experience better. I keep everything in my dotfiles repo under config/claude/, so it's easy to sync across machines.
⭐ Generate OG images for your Laravel app
I created a package that is now used at freek.dev, ohdear.app and spatie.be to create OG Images.
⭐ A better way to crawl websites with PHP
Our spatie/crawler. package is one of the first one I created. It allows you to crawl a website with PHP. It is used extensively in Oh Dear and our laravel-sitemap package. Throughout the years, the API had accumulated some rough edges.
⭐ Laravel Site Search v3 is here: crawl and search your entire site using just your database
We're proud to release v3 of laravel-site-search, a package that crawls and indexes your entire site. Think of it as your own private Google. Point it at a URL, let it crawl every page, and get full-text search results back. It uses the new version of our own spatie/crawler package.
⭐ How to easily access private properties and methods in PHP
Here's how our spatie/invade package works under the hood.
⭐ Laravel Backup v10: serializable events, resilient multi-destination backups, and more
We just released v10 of laravel-backup, our package that creates backups of your Laravel app. The backup is a zip file containing all files in the directories you specify, along with a dump of your database.
⭐ Laravel Sitemap v8 is here: automatic splitting, XSL stylesheets, and crawler v9
We just released v8 of Laravel Sitemap. This package that can generate sitemaps by crawling your entire site or by manually adding URLs. This version upgrades the underlying crawler to v9, adds a couple of nice new features, and cleans up the internals.
Write Faster PHP Code: Retracing Brent's Steps
In this Tideways video, Brent's blog post on writing faster PHP is put to the test with real profiling data.
Oh Dear is now mobile-friendly
Every page in Oh Dear now works on mobile. Not just slapped-on media queries, but reworked layouts: a floating action button for navigation, dedicated mobile card views for monitor lists, scrollable tables with fade hints, and bigger touch targets throughout. Over 160 Blade templates were touched.
AI Doesn't Reduce Work, It Intensifies It
A Berkeley Haas study of 200 employees found that AI makes workers take on more, not less. The productivity gains are real, but exhausting.
Selfish AI
Larry Garfield argues that the AI coding conversation focuses too much on individual productivity and ignores the broader societal costs.
Introducing the SHIP Score: Straightforward prioritization for indie founders
A simple scoring system for deciding what to build next. Score each idea on Strategic Heft, Income potential, and Perspiration (effort), then rank them to find your highest-ROI opportunities.
Use the Hyper key
Brian Lovin explains how to turn caps lock into a Hyper key that simulates pressing all four modifier keys at once. Use it for instant app switching, Raycast quicklinks, and custom window layouts.
How to tell if you're testing the framework
Joel Clermont shares a simple trick to determine if a test is covering your application logic or just testing Laravel itself. If you can comment out a chunk of your code and the test still passes, it's probably not worth keeping.
Community links
In this section you'll find links submitted by others. Let me know if you wrote or stumbled across a blog post, tutorial or video that might be interesting to appear in this section.
Laravel Inertia Toast (submitted by Victor Abbah Nkoms)
inertia v3 is really, really good (submitted by Nuno Maduro)
Http Automock - mock requests in tests automatically (submitted by Michael Ruf)
Old posts
Here are a couple of links from a while ago!
API design note: Beware of adding an “Other” enum value
Build UI's that don't suck
Seeing Red, or Maybe Green? How Tailwind Helps Colourblind Designers
PHP Ecosystem Deep Dive: The Code Quality Landscape
Enjoy this newsletter? Help it grow!
If you found this edition useful, here are two quick ways to support the newsletter:
👉 Write a short recommendation. Approved recommendations appear on the newsletter page for others to see.
👉 Forward this email to a colleague or friend who might be interested.
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
P.S. Know someone who'd enjoy this newsletter? Send them here to subscribe.
You are receiving this newsletter because you subscribed at freek.dev
Unsubscribe from this newsletter
This mail was sent using Mailcoach
|