fluxter / saas-provider-bundle
The SaaS Provider Bundle for easy SaaS provisioning
Installs: 2 701
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 3
Type:symfony-bundle
Requires
- php: ^8.1
- symfony/doctrine-bridge: ^4.4||^5.4||^6.0
- symfony/form: ^4.4||^5.4||^6.0
- symfony/framework-bundle: ^4.4||^5.4||^6.0
- symfony/orm-pack: ^1.0||^2.0
- symfony/twig-bundle: ^4.4||^5.4||^6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^8.3
- symfony/yaml: ^5.0
This package is auto-updated.
Last update: 2024-11-03 14:19:19 UTC
README
The corresponding provider bundle for the Fluxter SaaS Consumer bundle
How to install
composer require fluxter/saas-provider-bundle
How to implement
- Create a client entity, that implements the TenantInterface
- Create a Client Parameter entity, that implements SaasClientParameterInterface
- Configure the bundle
# config/packages/saas_provider.yaml saas_provider: client_entity: App\Entity\User global_url: app.yourdomain.tld
- Configure your firewall to the correct voter mode
# config/packages/security.yaml security: access_decision_manager: strategy: unanimous allow_if_all_abstain: false