PHP code example of sethsandaru / laravel-hmvc-generator

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

    

sethsandaru / laravel-hmvc-generator example snippets


php artisan make:hmvc

php artisan hmvc:create_module <Module_Name>


//...
return [
    'config_files' => [
        // your config file here
        // 'administration' => 'Modules/Administration/Configs/administration.php'
    ]
];


//...
return [
    'config_files' => [
        'administration' => 'Modules/Administration/Configs/administration.php'
    ]
];


//...
config('administration.some_key_here');