Cast Eloquent attributes to backed PHP enums to replace magic strings with real types, and give your enums behavior with helper methods.
Type-Safe Laravel Models with Native PHP Enums
Latest News
More Articles
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.
Learn how to build a clean versioned REST API in Laravel using API Resources, route groups, and a versioned resource strategy that scales as your API evolves.
Subscriptionify is a new gateway-agnostic Laravel package that models subscription plans and feature quotas entirely in your own database.
Eight practical Laravel patterns that make your code read more like intent and less like implementation — from fluent helpers to conditional chains.
Laravel 13.17 ships first-class route metadata, a Postgres transaction pooler, the new dev:list command, and a ShouldNotRetry exception handler.