|
Hi there!
Welcome to the 197th freek.dev newsletter!
Like promised, here's the second newsletter for this month. I'm still riding the energy wave from Laracon India. This month I've created three more packages, and I'm sitting on ideas for a few more that I'll probably build next month.
I'd also like to grow the newsletter a bit. I've decided to show testimonials from happy readers on my blog. If you enjoy this newsletter and want to recommend it to others, just reply to this mail with your name and one or two sentences about why you like it. Feel free to include your job title and a link to your profile on any social network, and I'll publish that too. You can also use this form to share your recommendation.
On Monday, Laravel EU starts. I'll be attending, hope to see you there!
Here are a couple of links I hope you'll enjoy as much as I did.
⭐ A Laravel package to serve markdown to AI agents
At Spatie, we created a new package called Laravel Markdown Response that lets your Laravel app serve markdown versions of your HTML pages. Your existing controllers and views stay exactly the same.
⭐ A clean API for reading PHP attributes
PHP's native API for getting information about attributes is kinda sucky. Another new package of ours tries to fix that.
Certification for Laravel is now live (sponsored link)
Certificates.dev just launched Certification for Laravel, a structured, multi-level program with coding challenges to test practical framework knowledge. If you’re looking for a formal way to validate your Laravel expertise, it’s worth exploring. Launch discounts are currently available on Junior, Mid-Level, Senior, and Artisan exams. Training is also offered.
⭐ Turn any OpenAPI spec into Laravel artisan commands
We created yet another new package: Laravel OpenAPI CLI turns any OpenAPI spec into dedicated Laravel artisan commands. Each endpoint gets its own command with typed options for path parameters, query parameters and request bodies.
⭐ Building a PHP CLI for humans and AI agents with almost no hand-written code
Here's how we used our own Laravel OpenAPI CLI package to create beautiful new CLIs for both Flare and Oh Dear.
⭐ Let your AI coding agent fix your errors and review performance
Seeing an AI using our Flare CLI to fix bugs automatically is pure magic.
⭐ Adding a custom status line to Claude Code
Claude Code has a nice little feature called the status line that lets you add a custom bar at the bottom of the terminal. Here's how I set it up
⭐ How to set up PHP autoformatting in Zed using Pint and PHP CS Fixer
I only switched to Zed a week ago or so, and I'm one by one fixing all my little pain points.
⭐ Laravel Response Cache v8 is here: now offers flexible caching
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.
Is your team still hand-chiseling code?
Geocodio shares practical advice on getting engineering teams to adopt AI tools like Claude Code, addressing the growing gap between eager adopters and skeptical engineers.
No Chrome, no Node, no problem: PDF generation in Laravel finally grows up
The title is a tad hyperbolic, but this blogpost provides a nice overview of how the Laravel PDF package works under the hood.
Mattias Geniar on monitoring tools and AI in web development
My Oh Dear co-founder Mattias Geniar was a guest on the WP Legends podcast. They talked about how we built Oh Dear over the past eight years, common misconceptions about monitoring, and how AI is changing developer workflows.
PHPShell - PHP in the Terminal?
What if you could write your terminal prompt and shell commands with a language you're already familiar with? Amazing stuff!
Tempest 3.0
Tempest 3.0 has been released with a new exception handler, PHP 8.5 as minimum requirement, improved CSRF protection using browser headers, database performance improvements, and closure-based validation rules.
How to make your Laravel app AI-agent friendly
A comprehensive guide to making your Laravel app work well with AI agents. Covers llms.txt, markdown responses, structured data, and coding guidelines.
Laravel AI SDK Tutorial: Build a Smart Assistant in 30 Minutes
Hafiz Riaz walks through building a document analyzer agent with the Laravel AI SDK. The tutorial covers structured output, streaming responses, and tool use, all in about 30 minutes.
Making Software
Dan Hollick created a beautifully illustrated reference manual that explains how the technology behind software actually works.
Old posts
Here are a couple of links from a while ago!
🚀 Deploying a Laravel Project on Forge with Reverb WebSockets | Real-Time Setup Tutorial
What to expect from open source?
Preventing Destructive Commands from Running in Laravel
Five Practical Tips to Improve Search in Laravel Apps With Typesense
Introducing laravel-tfa-confirmation
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.
👉 Know someone who'd enjoy this newsletter? Send them here to subscribe.
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
|