DanTheDJ / multitenant

The minimalist Laravel MultiTenant package enables easy multi-tenant applications by dynamically setting the database connection + name and adding a globally available --tenant option to Artisan. Enjoy!
MIT License
14 stars 4 forks source link

Adds Middleware options #3

Closed simondotwhite closed 7 years ago

simondotwhite commented 7 years ago

Hey Dan,

Here is the PR for the middleware as an option instead of trying to resolve a tenant on every route/request.

DanTheDJ commented 7 years ago

Good work 👍