Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sprout-laravel/sprout
A flexible, seamless and easy to use multitenancy solution for Laravel
https://github.com/sprout-laravel/sprout
laravel laravel-multi-tenancy laravel-multi-tenant laravel-multitenancy laravel-package multi-tenancy multitenancy package php php8
Last synced: 5 days ago
JSON representation
A flexible, seamless and easy to use multitenancy solution for Laravel
- Host: GitHub
- URL: https://github.com/sprout-laravel/sprout
- Owner: sprout-laravel
- License: mit
- Created: 2023-05-17T19:10:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-19T16:22:46.000Z (about 1 month ago)
- Last Synced: 2024-11-20T10:12:01.005Z (about 1 month ago)
- Topics: laravel, laravel-multi-tenancy, laravel-multi-tenant, laravel-multitenancy, laravel-package, multi-tenancy, multitenancy, package, php, php8
- Language: PHP
- Homepage: https://sprout.ollieread.com
- Size: 295 KB
- Stars: 229
- Watchers: 9
- Forks: 6
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
![Packagist Version](https://img.shields.io/packagist/v/sprout/sprout)
![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/sprout/sprout)![GitHub](https://img.shields.io/github/license/sprout-laravel/sprout)
![Laravel](https://img.shields.io/badge/laravel-11.x-red.svg)
[![codecov](https://codecov.io/gh/sprout-laravel/sprout/branch/main/graph/badge.svg?token=FHJ41NQMTA)](https://codecov.io/gh/sprout-laravel/sprout)![Unit Tests](https://github.com/sprout-laravel/sprout/actions/workflows/tests.yml/badge.svg)
![Static Analysis](https://github.com/sprout-laravel/sprout/actions/workflows/static-analysis.yml/badge.svg)# Sprout for Laravel
### A flexible, seamless and easy to use multitenancy solution for LaravelThis package is currently under development.
Check back in the future,
or check out my [twitter](https://ollieread.com) or [mastodon](https://phpc.social/@ollieread) for updates.## A quick FAQ
Here's a little FAQ that hopefully answers any questions you have for now.### Why are you building yet another multitenancy package for Laravel?
I feel like the currently available solutions leave something to be desired, as they're
either very opinionated or unnecessarily inflexible.### What sets this package apart?
It provides improvements on what is currently available, such as:* It is more flexible.
* It is far more seamless.
* It provides a greater degree of separation between your application logic and business logic.
* It provides supporting functionality, either within this package or as an optional addon.
* It doesn't tie you into one particular way of doing things.
* It doesn't limit what you can do with Laravel.
* It doesn't use magic to dynamically alter things, like the current default connection, because that really obfuscates what's happening.### Does it provide single and multi-database support?
Yes, either one on their own or as a combination.### Can I use dependency injection with my controller constructors?
Of course. Laravels container can successfully resolve controller dependencies that require a tenant, and inject them into the constructor, straight out of the box.### Wasn't this package originally premium?
It was, but I realised that I care far more about people having options than I do about
getting paid.### Does this supersede the course?
No. This package is the code that I used to write the course, except it has been
slightly modified so that it can function as a package.While this package provides a solid base for your application, there are going to be
times when it's better to write a custom solution.