boleiros/laravel-modularization

Commands to automate the creation of modules in laravel

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 7

Forks: 0

Open Issues: 0

pkg:composer/boleiros/laravel-modularization

dev-master 2019-08-25 10:26 UTC

This package is auto-updated.

Last update: 2025-09-29 02:06:33 UTC


README

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