Laravel Packages

Sprout Multitenancy Package for Laravel

Published
Sprout Multitenancy Package for Laravel image

Laravel Sprout by Ollie Read is a multitenancy package for Laravel under active development. It hasn't hit a v1.0 release, but we decided to share it with those who want to try it out early and follow along with the development.

Main Features

Some of these features might be under development and may change. The following is a list of features either finished, in progress, or planned:

  • Tenant Identification - support for a subdomain, path, session/cookie, HTTP header, and authentication-based identification.
  • Dependency Injection Support - resolution of a tenant allows it to be injected into controllers
  • Eloquent Tenant support - simplify working with tenants that are models.
  • Database support - initially will launch with single database support to cover common use-cases, other models planned.
  • Tenant-aware services (in progress)
  • Highly configurable and extensible
  • And more...

Check out the Sprout roadmap for more details on features and their current development status. Sprout plans to offer domain-based tenancy, multi-database tenant support, screencasts, and more.

You can learn more about this package and view the source code on GitHub at sprout-laravel/sprout. I would also suggest checking out the FAQ section of the readme.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
The Laracon Archive image

The Laracon Archive

Read article
Group Adjacent Collection Items in Laravel with chunkBy() image

Group Adjacent Collection Items in Laravel with chunkBy()

Read article
Laravel queue:work Now Prints Why the Worker Stopped image

Laravel queue:work Now Prints Why the Worker Stopped

Read article
Sidecar Brings Statamic's Control Panel to Your Existing Markdown Sites image

Sidecar Brings Statamic's Control Panel to Your Existing Markdown Sites

Read article
Collections chunkBy() and Storage Path Hardening in Laravel 13.30 image

Collections chunkBy() and Storage Path Hardening in Laravel 13.30

Read article
Forte: Parse and Rewrite Laravel Blade Templates image

Forte: Parse and Rewrite Laravel Blade Templates

Read article