Using Slugs with Laravel Resource Routes
Learn how to customise Laravel's resource route model binding to use slugs instead of IDs using the ->parameters() method or model configuration.
A collection of long-form posts on Laravel, Livewire, Tailwind, and the journey of creating apps with heart—shared in the order they were written.
Learn how to customise Laravel's resource route model binding to use slugs instead of IDs using the ->parameters() method or model configuration.
Learn how to use Laravel's pipeline pattern to break complex service logic into clean, reusable, and testable steps.
Service classes help you keep your Laravel controllers clean by moving business logic into dedicated, reusable classes. Here's why you should use them—and how to get started.
Learn how constructor injection works in Laravel and why it's useful for keeping your TALL stack code clean and testable
Learn why your Laravel middleware can't access route parameters when registered globally and how to fix it by using middleware groups.
If you’ve started exploring Laravel 11, you might’ve come across Context and wondered how it compares to the familiar Session. While both deal with data sharing, they serve very different purposes—Context lives for a single request, while Session persists across many. In this post, we’ll break down what each does, where they shine, and how to choose the right one for your use case.
The TALL stack—Tailwind CSS, Alpine.js, Laravel, and Livewire—represents a seamless way to build modern, interactive web applications. By combining the best features of utility-first styling, lightweight interactivity, robust backend functionality, and full-stack reactive components, the TALL stack allows developers to create beautiful, dynamic web experiences with minimal overhead.
If you’ve ever looked at a Laravel app and thought, “There must be a simpler way to make this reactive without diving headfirst into Vue or React,” then the TALL stack might just be your new favourite thing. In this series, I’ll take you on a tour of Tailwind, Alpine.js, Laravel, and Livewire – showing you how they combine to make building full-stack apps not only powerful, but surprisingly enjoyable. Whether you’re new to the stack or just looking to sharpen your workflow, this series will help you make the most of what TALL has to offer – without the fluff.