PHP code example of pkg6 / laravel-settings

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

    

pkg6 / laravel-settings example snippets


'providers' => [
    .....
    \Pkg6\Laravel\Settings\SettingsServiceProvider::class
]

php artisan vendor:publish --provider="\Pkg6\Laravel\Settings\SettingsServiceProvider::class"
php artisan vendor:publish --tag="settings"

php artisan migrate --path=database/migrations/2024_12_16_122545_create_settings_table.php