PHP code example of alexusmai / easy-settings

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

    

alexusmai / easy-settings example snippets


ESettings::get('groupName.settingsName');
ESettings::get('groupName.settingsName', $defaultValue);

'fallback_locale' => 'en',
 php
Alexusmai\EasySettings\EasySettingsServiceProvider::class,
 php
'ESettings' => Alexusmai\EasySettings\Facades\EasySettingsFacade::class,
 bash
php artisan vendor:publish --tag=easy-settings-config
 bash
php artisan vendor:publish --tag=easy-settings-assets
 bash
php artisan migrate
 bash
php artisan esettings:seed