Releases: dcblogdev/laravel-module-generator
Releases · dcblogdev/laravel-module-generator
v2.0.7
v2.0.6
What's Changed
- Add additional options by @dcblogdev in #13
- Update README with consistent formatting for module and model placeho… by @dcblogdev in #14
- Refactor MakeGeneratorCommand to use kebab-case by @dcblogdev in #15
Full Changelog: v2.0.5...v2.0.6
v2.0.5
What's Changed
- Laravel 12.x Compatibility by @laravel-shift in #11
New Contributors
- @laravel-shift made their first contribution in #11
Full Changelog: v2.0.4...v2.0.5
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