PHP code example of colinwait / laravel-modules
1. Go to this page and download the library: Download colinwait/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/ */
colinwait / laravel-modules example snippets
php
'providers' => [
Nwidart\Modules\LaravelModulesServiceProvider::class,
],
php
'aliases' => [
'Module' => Nwidart\Modules\Facades\Module::class,
],
bash
php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProvider"