nrz/laravel-module-creator is a Laravel package for a tool for build your laravel modules.
It currently has 0 GitHub stars and 63 downloads on Packagist.
Install it with composer require nrz/laravel-module-creator.
Discover more Laravel packages by nrz
or browse all Laravel packages to compare alternatives.
Last updated
Laravel package for Create Laravel Modules from a template
Laravel 9 and PHP 8.0
You can install the package via composer:
composer require Nrz/laravel-module-creator
first you must create your module
php artisan module:make Roocket/User
finally, run this code :
composer update
beautifully done
you have different commands to do anything with your module
php artisan
you can see these commands for your usage
module
module:make create a new module to develop project
module:make:controller Create a new controller class for module
module:make:graphql-mutation Create a new Graphql Mutation class for the module
module:make:graphql-query Create a new Graphql Query class for the module
module:make:graphql-type Create a new Graphql Type class for the module
module:make:migration Create a new migration file for the module
module:make:model Create a new Eloquent model class for module
module:make:repo Create a new repo class for the module
module:make:seeder Create a new Seeder class for module
module:make:rule Create a new Rule Validation class for module
module:make:event Create a new Event class for the module
module:make:listener Create a new Listener class for module
you can build model for your module like
php artisan module:make:model <module-namespace> <model-name>
php artisan module:make:model Roocket/user User