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 →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article