File tree 2 files changed +18
-15
lines changed
2 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 115
115
- [ Fractal Transformer] ( /docs/{{package}}/{{version}}/response-fractal )
116
116
- [ Fractal Serializer] ( /docs/{{package}}/{{version}}/response-fractal-serializer )
117
117
118
- - ## Livewire + Batch Job Exports
118
+ - ## Export
119
119
- [ Installation] ( /docs/{{package}}/{{version}}/exports-installation )
120
120
121
121
- ## Editor
Original file line number Diff line number Diff line change 2
2
3
3
Github: https://github.com/yajra/laravel-datatables-export
4
4
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.
6
6
7
- ` composer require yajra/laravel-datatables-export:^0.12 `
7
+ ## Quick Installation
8
8
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
+ ```
12
12
13
- Open the file ``` config/app.php ``` and then add following service provider.
13
+ The package also requires batch job:
14
14
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
21
18
```
22
19
23
- After completing the step above, use the following command to publish configuration & assets:
20
+ ## Service Provider (Optional since Laravel 5.5+)
24
21
25
22
```
26
- php artisan vendor:publish --tag=datatables-export --force
23
+ Yajra\DataTables\ExportServiceProvider::class
24
+ ```
25
+
26
+ ## Configuration and Assets (Optional)
27
+
27
28
```
29
+ $ php artisan vendor:publish --tag=datatables-export --force
30
+ ```
You can’t perform that action at this time.
0 commit comments