Skip to content

Releases: dcblogdev/laravel-module-generator

v2.0.4

10 Aug 18:25
4428133
Compare
Choose a tag to compare

What's Changed

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

v2.0.3

24 Mar 10:13
621cc97
Compare
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
Compare
Choose a tag to compare
v2.0.2

Merge remote-tracking branch 'origin/main'

v2.0.1

29 Jan 18:57
Compare
Choose a tag to compare

Corrected placeholder for delete test templates

v2.0.0

29 Jan 17:23
Compare
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
Compare
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
Compare
Choose a tag to compare

Reformatted the code:

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

First Release

03 Mar 10:13
Compare
Choose a tag to compare
v1.0.0

ensure tables can use snake case