laravel-settings
laravel-settings copied to clipboard
If setting not found use the config, if config not found throw exception
Allow getting of the config(key) when the settings(key) is not yet defined. Makes the app more transparant and all config() can be replaced by settings(). The code decides if the key can be overridden by the database, otherwise it just gets the config(). Also allow to throw an exception if the config() is not defined. This reduces typos in development