PHP code example of ersee / laravel-setting

1. Go to this page and download the library: Download ersee/laravel-setting library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ersee / laravel-setting example snippets

bash
php artisan vendor:publish --provider="Ersee\LaravelSetting\Providers\SettingServiceProvider"
bash
php artisan migrate
bash
php artisan setting:all
php artisan setting:get <key>...
php artisan setting:set <key> <value>
php artisan setting:increment <key> [<value=1>]
php artisan setting:decrement <key> [<value=1>]
php artisan setting:forget <key>...