ahadu/crud
最新稳定版本:1.1
Composer 安装命令:
composer require ahadu/crud
包简介
This package/library speeds up the making of basic CRUD's with all the related files just by providing it with the table or the migration column names and their data types.
README 文档
README
Installation Instructions for Ahadu CRUD Package
Step 1: Add the Package
Use Composer to add the Ahadu CRUD package to your Laravel project:
composer require ahadu/crud
Step 2: Register the Service Provider
After installing the package, you need to register the service provider in your Laravel application. Open the config/app.php file and add the following line to the providers array:
'providers' => [ // Other Service Providers
ahadu\crud\CrudServiceProvider::class, ],
Step 3: Publish Configuration (if applicable)
If your package has configuration options, you can publish them using the following command:
php artisan vendor:publish --provider="ahadu\crud\CrudServiceProvider"
Step 4: Usage
If you use the command (make sure you have a /pages directory inside your views)
php artisan make:crud ModelNameHere --columns=" datatype:name,datatype:name "
If you use it in a controller
CRUD::make($modelName,$columnsWithTheirDataType)
Conclusion
After completing these steps, the Ahadu CRUD package will be ready to use in your Laravel application. If you have any questions or need further assistance, please contact me with ahadu4321@gmail.com.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-04