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 →
Laravel Image Responses: Serve Resized Images From Routes image

Laravel Image Responses: Serve Resized Images From Routes

Read article
Pause All Laravel Queues During a Deploy image

Pause All Laravel Queues During a Deploy

Read article
Laravel Terminal UI for the artisan dev Command image

Laravel Terminal UI for the artisan dev Command

Read article
Pause All Queues and a New artisan dev UI in Laravel 13.25 image

Pause All Queues and a New artisan dev UI in Laravel 13.25

Read article
Laravel monitoring that doesn't bill you by your traffic image

Laravel monitoring that doesn't bill you by your traffic

Read article
Mock PHP Classes in Tests With the Double Library image

Mock PHP Classes in Tests With the Double Library

Read article