定制 ahadu/crud 二次开发

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

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

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-04