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

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
PHP News: A New Site for PHP Releases, RFCs, and Packages image

PHP News: A New Site for PHP Releases, RFCs, and Packages

Read article
Pause Polling in Background Tabs in Inertia.js v3.9 image

Pause Polling in Background Tabs in Inertia.js v3.9

Read article
Look What You Helped Me Build image

Look What You Helped Me Build

Read article
BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP image

BashBox: A Sandboxed Bash Interpreter for AI Agents in PHP

Read article
Running Laravel's Scheduler on Multiple Servers image

Running Laravel's Scheduler on Multiple Servers

Read article
Laravel Fake Assertions Now Accept Property Arrays image

Laravel Fake Assertions Now Accept Property Arrays

Read article