AW
Artisan Weekly
Back to Archive

Artisan Weekly Edition 80

Week ending April 17, 2026

It's Friday!!!! and it's Edition 80 of Artisan Weekly. This week has been a bit quieter for me but I've read some wonderful articles and kept my eye out for the speaker announcements for Laravel Live UK wont be long now before the conference is here If you've not grabbed a ticket yet go grab one, it's a conference I recommend you go to you get to hear great talks and catch up with plenty of Laravel developers during the breaks -> https://www.tickettailor.com/events/laravellive/2003132

Top 10 Links

1

Matt Stauffer interviews Dave Hicking, Laravel's Agency Partnership Manager, about his journey from library IT to Laravel HQ and the evolution of the Laravel partner program. They explore the strategic restructuring of partnership tiers and what real collaboration between Laravel and its agencies looks like in practice.

2

Have you ever had a pest test suite that has the same tests failing every now and then and you've not made a single change to the code the tests test? well then this latest version of Pest (4.5.0) has a new feature you will love. The new flaky() method has been added to that lets pest know to automatically retries that test up a a configured amount of times if the test fails in the original run before it reports it as a failure. Of course there are a number of other features in this release but this one really stood out to me as a great one.

3

Freek shares how Spatie uses Inertia v3's optimistic updates feature in their helpdesk app There There to create snappy UI interactions. He demonstrates practical examples of implementing optimistic updates for team toggles and workflow switches, showing how this feature eliminates the need for complex state management while providing instant user feedback.

4

A comprehensive guide explaining the difference between Laravel's Gates and Policies for authorisation, with practical examples and decision trees to help you choose the right approach. Perfect for developers who want to organise their authorisation logic properly and avoid scattered permission checks across their codebase.

5
Debounceable queued jobs
X Post
Laravel
Coding Tip

Steve posts about the recently merged Debounceable queued jobs feature showing a nice little example of how to use them to pause messages

6

In Episode 4 of Ship AI With Laravel Harris walks us through how to add memory to your agents conversation. Now your agent can not only answer a customers initial question but they can help answer follow up questions as well. All this is possible thanks to the power of the Laravel AI SDK

7

A thoughtful guide on how to write application code that follows Laravel's established conventions and patterns, making it feel like a natural extension of the framework. Ryan explores practical examples like implementing fake methods for testing and using consistent entry points to create more predictable and maintainable codebases.

8

A detailed postmortem of a production bug where Laravel's queue serialisation broke sharjeel's multi-tenant application. tenant context was being lost during model restoration. Sharjeel shares the debugging process and solution for safely handling tenant-scoped Eloquent models in queued jobs.

9

A comprehensive deep-dive into how Laravel's route binding works internally, tracing the complete lifecycle from URI matching to model resolution. This technical article explains the middleware pipeline, implicit vs explicit binding, and advanced features like scoped bindings and custom resolution logic.

10

Learn how to use Laravel's loadMissing() method to efficiently load relationships only when needed, preventing duplicate queries and N+1 problems. A practical guide to optimizing database performance in your Laravel applications.

Other Notable Links

Learn about a critical PHP memory management issue where arrays don't automatically shrink after removing elements, potentially causing memory leaks in long-running applications. The article explains why this happens and provides practical solutions for clearing large arrays to prevent memory bloat.

Acorn brings Laravel's powerful developer experience to WordPress, allowing you to use Blade templates, migrations, routing, and Artisan commands within your WordPress projects. This bridge tool enables Laravel developers to leverage familiar workflows and patterns while building WordPress sites.

Learn how to strengthen your Laravel HTTP tests by using Http::assertSentCount() to catch accidental duplicate API requests that Http::assertSent() alone might miss. This simple technique helps prevent subtle bugs by verifying both the content and count of outgoing HTTP requests in your test suite.

ArtisanFlow — The flowchart engine Alpine.js never had

I rebuilt ReactFlow but for Alpine.js and Livewire, well beyond feature parity. MIT licensed. I recently learned there had been attempts at doing this before, but none of them went as far as I did and didn't bridge it with Livewire. I also added an animation engine and everything within the flow can be updated from the server. https://x.com/HilerZac -- https://laravel-news.com/artisanflow-a-flowchart-engine-for-laravel-and-alpinejs

A comprehensive guide to getting started with Pest 4 testing in Laravel 13, showing how to build a real authenticated REST API with feature tests, validation tests, and arch tests. Perfect for Laravel developers who have been putting off testing - this tutorial makes it approachable with practical examples and clear setup instructions.

About the Author

Daniel Newns