LaravelPackages.net
Acme Inc.
Toggle sidebar
hoagmah/backpackexport

:description

7
0
v1.0
About hoagmah/backpackexport

hoagmah/backpackexport is a Laravel package for :description. It currently has 0 GitHub stars and 7 downloads on Packagist (latest version v1.0). Install it with composer require hoagmah/backpackexport. Discover more Laravel packages by hoagmah or browse all Laravel packages to compare alternatives.

Last updated

BackpackExport

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Requires

  1. https://github.com/barryvdh/laravel-dompdf
  2. https://github.com/Maatwebsite/Laravel-Excel

Installation

Via Composer

$ composer require hoagmah/backpackexport

Setup

$ php artisan vendor:publish --provider=HoagMah\\BackpackExport\\BackpackExportServiceProvider

Usage

Each crud controller in Laravel backpack:

  1. Extends HoagMah\BackpackExport\Http\Controllers\CrudController instead of Backpack\CRUD\app\Http\Controllers\CrudController
  2. Use trait HoagMah\Traits\Export in curd controller
  3. Add button export_excel and export_pdf in list
  4. 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.

Star History Chart