controleonline / multi-tenancy
Installs: 1 423
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
This package is auto-updated.
Last update: 2025-03-31 18:10:13 UTC
README
multi-tenancy
composer require controleonline/multi-tenancy:dev-master
Add Service import: config\services.yaml
imports: - { resource: "../vendor/controleonline/multi-tenancy/config/config.yaml" }
Add 'app-domain' a header on CORS: config\packages\nelmio_cors.yaml
nelmio_cors: defaults: origin_regex: true allow_origin: ['%env(CORS_ALLOW_ORIGIN)%'] allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE'] allow_headers: ['Content-Type', 'Authorization', 'API-TOKEN','app-domain','DEVICE'] expose_headers: ['Link'] max_age: 3600 paths: '^/': ~