F
Filament5mo 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
MikailOP5mo ago
Any help Anyone?
binaryfire
binaryfire3mo 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
MikailOP3mo 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
binaryfire3mo ago
Thanks, will give that a shot!
Want results from more Discord servers?
Add your server