AW
Artisan Weekly
Back to Archive

Artisan Weekly Edition 79

Week ending April 10, 2026

After a nice long bank holiday weekend it was nice to get back into the rhythm of work. Some more excellent content in this weeks episode on top of that the first round of speakers has been announced for Laravel Live UK and its looking great. Also don't forget Laravel London is May the 13th so grab a ticket while you can -> https://luma.com/dvsvh9uj

Top 10 Links

1

A detailed technical deep-dive into the development process and challenges of building a PHP debugger. Jefferson shares insights and lessons learned from creating debugging tools for PHP developers.

2

Have you ever had to validate a request that has a large array of inputs that you don't necessarily know how many there might be? Daryl shows a neat trick to use some of the established Form Request methods to allow you to stop the dreaded N+1 when you have to validate in this exact scenario.

3

Learn how to implement the Action/Domain/Responder pattern in Laravel to keep controllers thin, business logic reusable, and response handling separate. This architectural approach helps manage growing Laravel applications by clearly separating HTTP concerns from business rules and response formatting.

4
Dependency Hygiene
Blog Post
PHP

An insightful analysis of how PHP developers often include unnecessary polyfill dependencies in their projects, with a study showing 15% of scanned packages had unused compatibility libraries. The post explores ways to practice better dependency hygiene and includes practical tips for identifying and removing redundant packages using Composer's replace feature.

5

A comprehensive deep dive into Laravel's new AI SDK, showing how to build practical multi-agent systems with structured output, tools, and real-world examples. The guide includes a complete dual-agent system that extracts job requirements from PDFs and matches candidates using AI-powered research agents.

6

In the third episode of the series Harris talks us through how to allow his support agent access to tools to allow it to look up orders in the system and give the customer a much better feedback loop with real answers.

7

A practical guide to using PHP's Readalizer library to make your code more readable for both humans and AI tools. The article demonstrates how implementing code readability rules can improve AI-assisted development by ensuring consistent, understandable codebases.

8

A detailed comparison of Spatie's new Scotty deployment tool against Laravel Envoy, exploring how Scotty uses plain bash syntax instead of Blade templates and provides better terminal output for server deployments. The article breaks down the key differences, migration strategies, and whether the upgrade is worthwhile for developers managing their own servers.

9

Do you use the $fillable attribute on your models, have you ever lost context in different parts of your code and always had to return back to the model to see what can be filled and what cant? have you ever wondered if it might be easier to just remove the mass assignment protection and handles things a little differently? Well in this post Ivan proposes using DTOs and explicit field mapping as a better alternative to maintain clarity and security in larger codebases.

10

A comprehensive guide comparing WebSockets and Server-Sent Events for real-time web applications, featuring practical Laravel examples with Reverb and code samples. Perfect for developers deciding between bidirectional communication and simple server-to-client streaming for their next project.

Other Notable Links

Let’s build an agentic loop in Laravel from scratch with Christoph Rumpel of the Laravel Team. He walks us through adding tool calling, create custom tools, fetch the latest Laravel release from GitHub, and make the model work with multiple tool calls in one loop. Just like a real agent.

A comprehensive guide to Livewire 4's new single-file component format that combines PHP classes, Blade templates, and scoped CSS in one file. Learn how to build real components like live search with filtering while understanding the advantages over the traditional two-file pattern.

A follow-up discussion on managing project dependencies, addressing concerns from the Paragon team about removing sodium_compat dependencies and the potential security implications. The post explores the balance between reducing unnecessary dependencies and maintaining compatibility across different server environments.

About the Author

Daniel Newns