File tree Expand file tree Collapse file tree 2 files changed +18
-15
lines changed Expand file tree Collapse file tree 2 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 115115 - [ Fractal Transformer] ( /docs/{{package}}/{{version}}/response-fractal )
116116 - [ Fractal Serializer] ( /docs/{{package}}/{{version}}/response-fractal-serializer )
117117
118- - ## Livewire + Batch Job Exports
118+ - ## Export
119119 - [ Installation] ( /docs/{{package}}/{{version}}/exports-installation )
120120
121121- ## Editor
Original file line number Diff line number Diff line change 22
33Github: https://github.com/yajra/laravel-datatables-export
44
5- Run the following command in your project to get the latest version of the plugin:
5+ This package is a plugin of Laravel DataTables for handling server-side exporting using Queue, OpenSpout and Livewire.
66
7- ` composer require yajra/laravel-datatables-export:^0.12 `
7+ ## Quick Installation
88
9- ## Configuration
10-
11- > This step is optional if you are using Laravel 5.5
9+ ```
10+ composer require yajra/laravel-datatables-export -W
11+ ```
1212
13- Open the file ``` config/app.php ``` and then add following service provider.
13+ The package also requires batch job:
1414
15- ``` php
16- 'providers' => [
17- // ...
18- Yajra\DataTables\DataTablesServiceProvider::class,
19- Yajra\DataTables\ExportServiceProvider::class,
20- ],
15+ ```
16+ php artisan queue:batches-table
17+ php artisan migrate
2118```
2219
23- After completing the step above, use the following command to publish configuration & assets:
20+ ## Service Provider (Optional since Laravel 5.5+)
2421
2522```
26- php artisan vendor:publish --tag=datatables-export --force
23+ Yajra\DataTables\ExportServiceProvider::class
24+ ```
25+
26+ ## Configuration and Assets (Optional)
27+
2728```
29+ $ php artisan vendor:publish --tag=datatables-export --force
30+ ```
You can’t perform that action at this time.
0 commit comments