PHP code example of vildanbina / laravel-js-settings

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

    

vildanbina / laravel-js-settings example snippets


vildanbina\SettingsJs\LaravelJsSettingsServiceProvider::class



return [
    'exclude_keys' => [
        'smtp_*', 
    ],
];
shell
php artisan settings:js
shell
php artisan settings:js public/assets/dist/settings.dist.js
shell
php artisan settings:js -c
shell
php artisan settings:js --json
shell
php artisan vendor:publish --provider="vildanbina\SettingsJs\LaravelJsSettingsServiceProvider"