Skip to content

Releases: dcblogdev/laravel-module-generator

v2.0.7

19 Mar 19:22
daa3ea9

Choose a tag to compare

What's Changed

Full Changelog: v2.0.6...v2.0.7

v2.0.6

27 May 07:43
9cfdd7d

Choose a tag to compare

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

24 Feb 23:37
2633b34

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.4...v2.0.5

v2.0.4

10 Aug 18:25
4428133

Choose a tag to compare

What's Changed

Full Changelog: v2.0.3...v2.0.4

v2.0.3

24 Mar 10:13
621cc97

Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.0.3

Add support for Laravel 11

12 Mar 11:09

Choose a tag to compare

v2.0.2

Merge remote-tracking branch 'origin/main'

v2.0.1

29 Jan 18:57

Choose a tag to compare

Corrected placeholder for delete test templates

v2.0.0

29 Jan 17:23

Choose a tag to compare

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:

Screenshot 2024-01-29 at 17 27 08

v2 comes with 3 templates for Laravel Breeze, more can be added to your config once published.

add Laravel 10 support

28 Jan 10:23

Choose a tag to compare

v1.0.2

Merge branch 'main' of github.com:dcblogdev/laravel-module-generator

v1.0.1: Merge pull request #1 from dcblogdev/text-options

27 Dec 20:37
70afd25

Choose a tag to compare

Reformatted the code:

Added return types
Added more safety when creating dirs
Optimised the replaceInFile method