hoagmah / backpackexport
:description
v1.0
2019-02-18 10:35 UTC
Requires
- barryvdh/laravel-dompdf: ^0.8.3
- illuminate/support: ~5
- maatwebsite/excel: ^3.1
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2024-10-19 14:28:13 UTC
README
This is where your description should go. Take a look at contributing.md to see a to do list.
Requires
Installation
Via Composer
$ composer require hoagmah/backpackexport
Setup
$ php artisan vendor:publish --provider=HoagMah\\BackpackExport\\BackpackExportServiceProvider
Usage
Each crud controller in Laravel backpack:
- Extends HoagMah\BackpackExport\Http\Controllers\CrudController instead of Backpack\CRUD\app\Http\Controllers\CrudController
- Use trait HoagMah\Traits\Export in curd controller
- Add button export_excel and export_pdf in list
- Add route /export-excel to action exportExcel() and /export-pdf to exportPdf() in custom.php
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
license. Please see the license file for more information.