Spatie Settings
How do you make spatie-laravel-settings-plugin tenant aware. Where we can save setting based on different tenant. I tried to add the tenant school_id to the settings migration but I'm facing difficulties with default properties value. Any help?
4 Replies
Any help
Anyone?
Hi @Mikail. Did you figure this out? I was considering using this package but can’t find any info on whether it can be made tenant aware.
Yes, i had to create class MultiTenantSettingsRepository which set a central default settings from a file and not database. each tenant can set a new setting but the central default is used initially. Hope this helps
Thanks, will give that a shot!