定制 miotoloji/autocrud 二次开发

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

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

miotoloji/autocrud

最新稳定版本:0.02

Composer 安装命令:

composer create-project miotoloji/autocrud

包简介

Autocruder

README 文档

README

This package allows you to quickly set up your CRUD structures on Laravel.

This version supports single schema PostgreSQL database, mariadb, mysql.

Using the package is extremely easy,

  • Create your table with ideal column values in your database,
  • Define your table's Unique, Foreign keys and indexes

Then enter the command via the console,

php artisan module:create MODULE_NAME --table=TABLE_NAME (default= MODULE_NAME) --path=PATH_NAME --created=CREATED_AT_COLUMN_NAME (default= created_at) --updated=UPDATED_AT_COLUMN_NAME (default = updated_at)

For install: composer require miotoloji/autocrud

The structure will be created in your app folder as follows.

Index, show, create, update, delete methods will come in your controller file.

FilterHelper will automatically perform filter requests coming through the API.

Fillable, casts fields will come in your model file as defined in your database table.

The data received from your table and the necessary validations will come in your request file.

routes - You can define module-specific routes in the api.php file.

-MODULE_NAME -Controllers -{MODULE_NAME}Controller -Helpers -FilterHelper -Models -{MODULE_NAME} -Providers -{MODULE_NAME}ServiceProvider -Requests -{MODULE_NAME}Request -{MODULE_NAME}FilterRequest -Resources -{MODULE_NAME}Resource -{MODULE_NAME}FailResource -routes -api.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-14