PHP code example of xgrz / laravel-app-settings

1. Go to this page and download the library: Download xgrz/laravel-app-settings 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/ */

    

xgrz / laravel-app-settings example snippets


php artisan app-settings:publish

php artisan migrate
 
php artisan app-settings:sync 

return [
    // some existsing settings
    'seo' => [
        // key-names for seo group.
    ]
]

php artisan app-settings:sync