Laravel | LaravelSettings |
---|---|
![LaravelSettings v11.x][laravel_settings_11_x] | |
You can install this package via Composer by running this command:
composer require arcanedev/laravel-settings
NOTE : The package will automatically register itself if you're using Laravel
>= v5.5
, so you can skip this section.
Once the package is installed, you can register the service provider in config/app.php
in the providers
array:
'providers' => [
...
Arcanedev\LaravelSettings\SettingsServiceProvider::class,
],
To publish the config file by running this command:
php artisan vendor:publish --provider="Arcanedev\LaravelSettings\SettingsServiceProvider"
Note: If you want to publish the laravel settings' migrations, you need to set the
Arcanedev\LaravelSettings\SettingsManager::$runsMigrations
value tofalse
in yourServiceProvider
.