ckhandla94/backpack-import
最新稳定版本:1.0
Composer 安装命令:
composer require ckhandla94/backpack-import
包简介
无描述信息
README 文档
README
Install
-
This package assumes you've already installed Backpack for Laravel. If you haven't, please install Backpack first.
-
In your terminal:
composer require ckhandla94/backpack-import
- Run its migrations. Most likely it's:
php artisan migrate
Usage in your controller
Here's a simple example to use in your controller:
... class ExampleCrudController extends CrudController { ... use \BackpackImport\ImportOperation; public function importValidationRules() { return [ 'category_id' => 'required|exists:categories,id', 'name' => 'required|max:255', 'duration' => 'nullable|numeric', 'price' => 'nullable|numeric', 'image' => 'nullable', 'description' => 'nullable|max:5000', 'status' => 'required', ]; } .... Preview
Import button in List page
Import page or Download sample file
Preview of the uploaded file and Maping with database
统计信息
- 总下载量: 31.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04


