定制 nrz/laravel-module-creator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nrz/laravel-module-creator

Composer 安装命令:

composer require nrz/laravel-module-creator

包简介

a tool for build your laravel modules

README 文档

README

Laravel package for Create Laravel Modules from a template

Requirements

Laravel 9 and PHP 8.0

Install

You can install the package via composer:

composer require Nrz/laravel-module-creator

Usage

first you must create your module

php artisan module:make Roocket/User

finally, run this code :

composer update

beautifully done

Your Module Commands

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  

统计信息

  • 总下载量: 48
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-21