PHP code example of stri8ed / laravel-config-js
1. Go to this page and download the library: Download stri8ed/laravel-config-js 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/ */
stri8ed / laravel-config-js example snippets
@configJs('app.name')
@configJs(['app.name', 'app.env', 'services.api.key'])
bash
php artisan vendor:publish --tag="config-js"