PHP code example of brnbio / laravel-modules
1. Go to this page and download the library: Download brnbio/laravel-modules 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/ */
brnbio / laravel-modules example snippets
'foo' => [
'name' => 'Foobar',
'namespace' => 'App\Modules\Foobar',
'enabled' => true,
]
bash
php artisan vendor:publish --provider="Brnbio\LaravelModules\ServiceProvider" --tag="config"