PHP code example of tomosia-module / laravel-module-generate
1. Go to this page and download the library: Download tomosia-module/laravel-module-generate 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/ */
tomosia-module / laravel-module-generate example snippets
bash
php artisan vendor:publish --tag=module-generator
bash
php artisan module:create User
bash
php artisan container:create User
Modules/
└── User/
├── Http/
│ ├── Controllers/
│ │ └── AuthController.php
│ └── Requests/
│ └── LoginRequest.php
├── Providers/
│ └── UserServiceProvider.php
├── resources/
│ ├── assets/
│ ├── lang/
│ ├── views/
│ └── ...
├── routes/
│ └── web.php
└── ...