This PR introduces Spatie's Laravel Settings package to handle Cachet's settings. I was initially hesitant to this, but I think it'll provide us with a few benefits:
Strongly-typed settings.
Filament integration.
Option for caching.
As part of the PR, I've also created a migration to convert the existing settings into new ones. Afterwards, we'll create any setting records that were not previously stored.
[!IMPORTANT]
This PR does not implement or configure all available settings. I wanted to get this PR merged as-is so that we're able to push forward elsewhere.
Furthermore, there are a few settings that will no longer be supported; analytics and mail. For analytic snippets, you should provide the script in the Custom Header settings. Mail settings should be configured in .env.
Closes #32
This PR introduces Spatie's Laravel Settings package to handle Cachet's settings. I was initially hesitant to this, but I think it'll provide us with a few benefits:
As part of the PR, I've also created a migration to convert the existing settings into new ones. Afterwards, we'll create any setting records that were not previously stored.