Skip to content

Commit 83f08d6

Browse files
committedJul 14, 2022
Use docs from repo
1 parent eed782b commit 83f08d6

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed
 

‎documentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
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

‎exports-installation.md

+17-14
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,29 @@
22

33
Github: 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+
```

0 commit comments

Comments
 (0)
Please sign in to comment.