F
Filament4mo ago
Mikail

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
Mikail
Mikail4mo ago
Any help Anyone?
binaryfire
binaryfire2mo ago
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.
Mikail
Mikail2mo ago
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
binaryfire
binaryfire2mo ago
Thanks, will give that a shot!
Want results from more Discord servers?
Add your server