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.
Read more [hafiz.dev]
A comprehensive guide to making your Laravel app work well with AI agents. Covers llms.txt, markdown responses, structured data, and coding guidelines.
Read more [hafiz.dev]
– tighten.com - submitted by Kayla Helmick
We’ve moved from command lines to GUIs, and now the next shift is here: AI that can actually use your app. This article introduces the Model Context Protocol (MCP), a powerful way to let AI interact directly with your applications—and why it’s more than just another tech acronym.
Read more [tighten.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.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
MCP is not a hosted service, a replacement for app logic, or a fix for hallucinations. It is a protocol that provides access to real tools and data, and still requires good prompts and UX
Read more [alexop.dev]
I've recently rebuilt the SDK for Oh Dear, and thanks to Saloon I had a great time downing so.
Read more [ohdear.app]
– youtu.be - submitted by Bert De Swaef
🚴♂️ 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).
Read more [youtu.be]
– www.conroyp.com - submitted by Paul Conroy
Stripe metadata is great for config, entitlements, and... DNS? This experiment takes one good API feature and stretches it into the worst possible infrastructure layer.
Read more [www.conroyp.com]
Beware of "Other"!
Read more [devblogs.microsoft.com]
– geoligard.com - submitted by Goran Popović
See how to easily modify and override methods found in the framework's Request class in order to handle specific routes with sizeable payloads.
Read more [geoligard.com]
– gummibeer.dev - submitted by Tom Witkowski
How to retrieve any geographical data from OpenStreetMap and transform them into usable PHP objects.
Read more [gummibeer.dev]
– ashallendesign.co.uk - submitted by Ash Allen
Learn how to fake and record HTTP responses so you can test your Saloon API integration in your Laravel applications.
Read more [ashallendesign.co.uk]
– mailcoach.app - submitted by Spatie
Read more [mailcoach.app]
– geoligard.com - submitted by Goran Popović
A step-by-step guide on how to utilize the new Assistants and Vision APIs with Laravel.
Read more [geoligard.com]
– seankegel.com - submitted by Sean Kegel
A comprehensive guide for creating custom Data Transfer Objects (DTOs) to enhance readability, efficiency, and testability in Laravel API integrations.
Read more [seankegel.com]
– blog.treblle.com - submitted by Steve McDougall
Learn how to version your Laravel APIs properly in this walk through tutorial.
Read more [blog.treblle.com]
– seankegel.com - submitted by Sean Kegel
This article provides a guide on simplifying API integration in Laravel using the Http Facade, with a focus on building a reusable API request and client class.
Read more [seankegel.com]
– flareapp.io - submitted by Spatie
Discover how we're using Cloudflare Workers to perform API authentication on the edge to make our infrastructure more cost-effective.
Read more [flareapp.io]
– dev.to
Recently, OpenAI released an update for ChatGPT, introducing new features that allow developers to describe language model functions. Let's leverage this new functionality in Laravel
Read more [dev.to]
Here's how my colleague Ruben managed to do this in Flare.
Read more [rubenvanassche.com]
– barreto.jp - submitted by Juan Pablo
Tutorial on building your first ChatGPT plugin with Laravel step by step.
Read more [barreto.jp]
In Oh Dear, we recently added the ability to create fine-grained API tokens that are scoped by a model. Behind the scenes, it uses Laravel Sanctum to create and verify abilities.
In this blog post, I'd like to give you a peek behind the scenes and show how we set this up.