Automatic tenancy for your Laravel app
No code changes required.
@@ -61,7 +61,8 @@ $tenant = Tenant::new()
->withDomains([
'tenant1.yourapp.com',
'tenant1.com',
- ])->withPlan('free')
+ ])
+ ->withPlan('free')
->save();
// Write your app like you're used to
@@ -101,7 +102,7 @@ php artisan tenancy:install
Automatic & Flexible
Multi-tenancy is something that can be handled in the background.
-
Why should your code be polluted with tons of tenancy-related things?
+
Why should your code be polluted with tons of tenancy-related things? And why be bound to a specific implementation?
Handling tenancy in the
background gives you the flexibility to change how tenancy works for your project without pain.