Download the PHP package lws/exportactions without Composer
On this page you can find all versions of the php package lws/exportactions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lws/exportactions
More information about lws/exportactions
Files in lws/exportactions
Package exportactions
Short Description This package exports data from an API in CSV,PDF Formats
License MIT
Informations about the package exportactions
Laravel Exporter
Efficiently Export Datatable Data In CSV,PDF Format.
Installation
Via Composer
Usage
This Package Exports the API Data in CSV,PDF Format.You just have to pass of the API whose data needs to be exported and you wish to export to (CSV,PDF).
After installation you need to add the following line to config/app.php (No need in case Laravel > 5.5) -
You need migrate the database using
Change QUEUE_CONNECTION entry in .env file
This package sets up three routes
-
- Accepts and to Export.
-
- Return Progress of Export operation taking long time (usually PDF files),running in Queue.
-
- After the Export File Processed in background,You can download the file by passing the job id (id of the job can be found in ).
Typical Call to the API to export Data in CSV Format:
Note: This Package return downloadable file as response. i.e If the frontend is running on different PORT the frontend has to take care of making the download in browser.
All versions of exportactions with dependencies
illuminate/support Version ~5
guzzlehttp/guzzle Version ^6.3
soapbox/laravel-formatter Version ^3.1
elibyy/tcpdf-laravel Version ^5.8