Releases: dcblogdev/laravel-module-generator
Releases · dcblogdev/laravel-module-generator
v2.0.4
What's Changed
- use config path from modules package by @dcblogdev in #10
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
- replaced templates with new structure by @dcblogdev in #7
- applied cleanup by @dcblogdev in #8
Full Changelog: v2.0.2...v2.0.3
Add support for Laravel 11
v2.0.2 Merge remote-tracking branch 'origin/main'
v2.0.1
v2.0.0
V2 has support for multiple templates and makes use of Laravel Prompt.
Dropped the config option:
'path' => env('GENERATOR_PATH', 'stubs/module-generator'),
Instead, templates can be added in the format of:
'template' => [
'Breeze - Blade - CRUD Web & API' => 'stubs/module-generator/breeze-crud-full',
'Breeze - Blade - CRUD Web only' => 'stubs/module-generator/breeze-crud-web',
'Breeze - Blade - CRUD API only' => 'stubs/module-generator/breeze-crud-api'
],
Running php artisan module:build
will now prompt for the module name and the template to be used:

v2 comes with 3 templates for Laravel Breeze, more can be added to your config once published.
add Laravel 10 support
v1.0.2 Merge branch 'main' of github.com:dcblogdev/laravel-module-generator
v1.0.1: Merge pull request #1 from dcblogdev/text-options
Reformatted the code:
Added return types
Added more safety when creating dirs
Optimised the replaceInFile method
First Release
v1.0.0 ensure tables can use snake case