ahmedmaher/crud
Composer 安装命令:
composer require ahmedmaher/crud
包简介
test package making
关键字:
README 文档
README
1 - Install
composer require ahmedmaher/crud
2 - Add the service provider to the providers array in the config/app.php config file as follows:
'providers' => [
...
ahmedmaher\crud\CrudServiceProvider::class,
]
3- Publish the default package
php artisan vendor:publish --provider="ahmedmaher\crud\CrudServiceProvider"
Usage
to customize views(index, create, edit and form) edit in App/CrudGenerate/CrudViews
to customize mdoel(set or edit default properties or methods) edit in App/CrudGenerate/model.txt
to customize controller edit in App/CrudGenerate/controller.txt
and run this command
php artisan crud:generate {table} {model} {path}
example
php artisan crud:generate products Product Dashboard/folder
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-07