Commands to automate the creation of modules in laravel
boleiros/laravel-modularization is a Laravel package for commands to automate the creation of modules in laravel.
It currently has 1 GitHub stars and 13 downloads on Packagist.
Install it with composer require boleiros/laravel-modularization.
Discover more Laravel packages by boleiros
or browse all Laravel packages to compare alternatives.
Last updated
How to use:
php artisan bake:module [name]
Run name on plural and lower case, example:
php artisan bake:module posts
Register provider in config/app.php, see command result. Example of command result:
Add this provider to config/app.php:
Modules\Posts\Providers\PostServiceProvider::class,
Creating Migrations:
php artisan make:migration create_posts_table --path=modules/Posts/Migrations
Inspirado e iniciado a partir do repo: https://github.com/erikfig/laravel