Service providers are where Laravel is assembled. Understanding the difference between register() and boot() explains a whole class of subtle bugs.
Understanding Laravel Service Providers: Register vs Boot
Latest News
More Articles
Laravel Herd's July 2026 Windows update brings Forge organization support, a herd php:update all command, and a migration to the Forge v2 API.
Two small Laravel features, the tap() helper and higher-order collection messages, quietly remove a surprising amount of boilerplate from everyday code.
Wire up TOTP two-factor authentication in a Laravel app using Laravel Fortify, from installation through enabling, confirming, and challenging logins.
Cast Eloquent attributes to backed PHP enums to replace magic strings with real types, and give your enums behavior with helper methods.
A new @fonts Blade directive backed by a Vite font runtime lands in Laravel 13.x, handling preload tags, @font-face rules, and CSP nonces for you.
Build a shared-database multi-tenant Laravel app from scratch using a tenant column, middleware, and a global scope that keeps every query isolated.
Query scopes let you name and reuse common Eloquent constraints so your controllers stay readable and your query logic lives in one place.
Laravel's Pipeline class is the engine behind HTTP middleware, but it's a general-purpose pattern you can use anywhere you need to pass data through a chain of transformations.