PHP code example of sethsandaru / laravel-hmvc-sample

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


return view('home::home.view', $arrData);

trans('home::home.hello'); // Hello
__('home::home.world'); // World

config('home.text'); // get 'text' in home alias

- Base/Core (database/migrations) first
- Thought each module
    - Module 1
    - Module 2
    - ...
    - Module n

$this->commands([
    MyCommand::class,
]);