PHP code example of tienhm7 / laravel-hmvc-generator

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

    

tienhm7 / laravel-hmvc-generator example snippets


php artisan module:make <module_name>

php artisan module:make-migration <migration_name> --module=<module_name> --table=<table_name>

// Example:
php artisan module:make-migration create_posts_table --module=Post

composer dump-autoload