mohsincrud/crud
Composer 安装命令:
composer require mohsincrud/crud
包简介
This is Package
README 文档
README
A custom CRUD package for Laravel to simplify creating, reading, updating, and deleting resources.
Installation
composer.json:
"config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true, "allow-plugins": { "pestphp/pest-plugin": true, "php-http/discovery": true } }, "minimum-stability": "stable", "prefer-stable": true
You can install the package via composer:
composer require mohsincrud/crud
If you are using Laravel 5.5 or higher, the package will automatically register the service provider. For older versions of Laravel, you need to manually add the service provider in config/app.php
'providers' => [ // Other Service Providers MohsinCrud\Crud\ContactServiceProvider::class, ],
Database Migration
After installing the package and adding the service provider, create the database tables by running the migrations
php artisan migrate
Accessing the CRUD Interface
You can access the CRUD interface at the following URL:
http://localhost:8000/student/index
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-29