mbedzinski/laravel_module_builder

This is my package LaravelModuleBuilder

Fund package maintenance!
mbedzinski

Installs: 1 045

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/mbedzinski/laravel_module_builder

0.0.1 2021-05-03 11:13 UTC

This package is not auto-updated.

Last update: 2025-10-08 01:18:03 UTC


README

Usage

Make module

  php artisan make:module {ModuleName}

Make module model

  php artisan make:module -m {ModuleName} {ModelName} 

  -a,    Generate a migration, seeder, factory, and resource controller for the model
  -c,    Create a new controller for the model
  -f,    Create a new factory for the model
  -m,    Create a new migration file for the model
  -s,    Create a new seeder file for the model
  -p,    Indicates if the generated model should be a custom intermediate table model
  -r,    Indicates if the generated controller should be a resource controller
  --api  Indicates if the generated controller should be an API controller