PHP code example of batinmustu / laravel-module-maker
1. Go to this page and download the library: Download batinmustu/laravel-module-maker 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/ */
batinmustu / laravel-module-maker example snippets
return [
'stub_template_folder' => resource_path('stubs/modules'),
];
bash
php artisan module-maker:publish
bash
php artisan module-maker:publish
yaml
# module-blueprint.yml
BlogCategory:
template: 'category'
excludeStubs:
- 'app/Http/Controllers/__Module__Controllers/__Module__Controller.php.stub'
NewsCategory:
template: 'category'