laravel-settings
laravel-settings copied to clipboard
Class 'App\Http\Controllers\Admin\Setting' not found
Installed everything, migrated, but when I try to set a Setting it gives me this error:
Class 'App\Http\Controllers\Admin\Setting' not found
I'm using Laravel 5.4.
If you are using the facade Setting
, make sure are using \Setting::whatever
, to not use current namespace
If Facade Alias added, then add the below before your class:
use Setting;