phamvanhieu/package-pexcel

创建概览 pexcel 可以与其他项目集成

1.0.0 2020-12-31 05:51 UTC

This package is not auto-updated.

Last update: 2024-09-20 21:27:24 UTC


README

@webiste: http://foostart.com

@package-name: sample @author: Kang @date: 27/12/2017 @version: 2.0

@features

  1. CRUD
  2. 将类别添加到表单中
  3. 语言标准
  4. 在表格数据上添加过滤器
  5. 添加令牌以防止XSRF ====================================== 设置Pexcels ===============================

步骤 1: 将服务提供者添加到 config/app.php 中 Foostart\Pexcel\PexcelServiceProvider::class, Foostart\Slideshow\SlideshowServiceProvider::class, Foostart\Filemanager\FilemanagerServiceProvider::class, Intervention\Image\ImageServiceProvider::class, Maatwebsite\Excel\ExcelServiceProvider::class,

步骤 2: 安装 publish php artisan vendor:publish --provider="Foostart\Pexcel\PexcelServiceProvider" --force

步骤 3: 并添加类别名 'Image' => Intervention\Image\Facades\Image::class, 'Excel' => Maatwebsite\Excel\Facades\Excel::class,

步骤 4: 发布包的配置和资源 : php artisan vendor:publish --tag=lfm_config php artisan vendor:publish --tag=lfm_public