a tool for build your laravel modules
hesammousavi/laravel-module-creator is a Laravel package for a tool for build your laravel modules.
It currently has 25 GitHub stars and 225 downloads on Packagist (latest version v1.7.0).
Install it with composer require hesammousavi/laravel-module-creator.
Discover more Laravel packages by hesammousavi
or browse all Laravel packages to compare alternatives.
Last updated
Laravel package for Create Laravel Modules from a template
Laravel 9 or later PHP 8.0 or later
You can install the package via composer:
composer require hesammousavi/laravel-module-creator
first you must create your module
php artisan m: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
m:make create a new module to develop project
m:make:controller Create a new controller class
m:make:request Create a new request class
m:make:resource Create a new resource class
m:make:graphql-mutation Create a new Graphql Mutation class
m:make:graphql-query Create a new Graphql Query class
m:make:graphql-type Create a new Graphql Type class
m:make:migration Create a new migration file
m:make:model Create a new Eloquent model class
m:make:repo Create a new repo class
m:make:seeder Create a new Seeder class
m:make:rule Create a new Rule Validation class
m:make:event Create a new Event class
m:make:listener Create a new Listener class
you can build model for your module like
php artisan m:make:model <module-namespace> <model-name>
php artisan m:make:model Roocket/user User