Build a shared-database multi-tenant Laravel app from scratch using a tenant column, middleware, and a global scope that keeps every query isolated.
Building a Multi-Tenant Laravel App with Single-Database Scoping
Latest News
More Articles
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.
Caching is the fastest performance win in Laravel, but only if you do it right. These tips cover remember, cache stampedes, tagging, and atomic locks.
Laravel Notifications send the same message across mail, database, Slack, and SMS from one class. This tutorial builds a multi-channel notification system step by step.