Introduction
Installation
Table of Contents
{note} You're browsing the documentation for an old version of laravel-settings. Consider upgrading your project to v3. Check your version with the following command:
composer show rawilk/laravel-settings
Installation
laravel-settings can be installed via composer:
composer require rawilk/laravel-settings
Migrations
When using the database
or eloquent
drivers, you should publish the migration files. You can publish and run the migrations with:
php artisan vendor:publish --tag="settings-migrations"
php artisan migrate
Configuration
You can publish the configuration file with:
php artisan vendor:publish --tag="settings-config"
You can view the default configuration here: https://github.com/rawilk/laravel-settings/blob/v2/config/settings.php