定制 ceddyg/clara-entity-generator 二次开发

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

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

ceddyg/clara-entity-generator

Composer 安装命令:

composer require ceddyg/clara-entity-generator

包简介

Repository to generate a CRUD system (Controller, model, repository, view using bootstrap, and more) scanning the shema of the database.

README 文档

README

Installation

composer require ceddyg/clara-entity-generator

Add to your providers in 'config/app.php'

CeddyG\ClaraEntityGenerator\EntityGeneratorServiceProvider::class,

Then to publish the files.

php artisan vendor:publish --provider="CeddyG\ClaraEntityGenerator\EntityGeneratorServiceProvider"

Use

You can select all the table in it and define what file you want :

  • Controller
  • Model
  • Repository (that extend ceddyg/query-builder-repository)
  • Request
  • Index view
  • Form view (to create or edit)
  • Traduction files (en and fr)

You have just to define the relations, if they are hasMany or belongsToMany relations and what files you want to create

You can edit the generator to custom your files. The generator is in app/Services/Clara/Generator and the stubs are in ressources/stubs.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固