merlby/crudify

安装: 10

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

语言:JavaScript

dev-main 2021-03-04 11:12 UTC

This package is auto-updated.

Last update: 2024-09-04 18:54:11 UTC


README

私有项目,代码来源于 Redbastie 仓库

增加了导出功能,并修改了 make:crud 命令的行为

作者 Redbastie/Crudify 更新了 Merlby

安装

composer require merlby/crudify

在终端输入

php artisan crudify:install

命令将安装依赖并执行 vendor:publish

使用

为了创建模型的 CRUD,需要执行

php artisan make:crud Modelname

命令将创建默认视图

对于迁移,最好使用 auto 命令

可以接受 --fresh 和 --seed 参数

php artisan migrate:auto