kajal-pandya / laravel-site-settings

By installing this package you don't need to make your custom site settings methods.

Stars
0

Laravel Site Settings

Install this package by write in your terminal project directory

composer require kajalpandya/laravel-settings

Register provider and aliases

then put this line to your config/app.php file in providers array
KajalPandya\LaravelSiteSettings\LaravelSiteSettingsServiceProvider::class,

Remove below files

database/migrations
database/seeds

Clear the cache

$ php artisan config:cache

Auto load files

$ composer dump-autoload

Clear the cache again

$ php artisan config:cache

Finaly publish the provider

$ php artisan vendor:publish --provider="KajalPandya\LaravelSiteSettings\LaravelSiteSettingsServiceProvider"

then run

$ php artisan migrate && php artisan db:seed

make tmp folder in public

then run localhost:8000

Have fun..!!!!!