Skip to content

Commit 5f3347e

Browse files
committed
Add section for export plugin
1 parent 7dd6959 commit 5f3347e

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

documentation.md

+3
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@
115115
- [Fractal Transformer](/docs/{{package}}/{{version}}/response-fractal)
116116
- [Fractal Serializer](/docs/{{package}}/{{version}}/response-fractal-serializer)
117117

118+
- ## Livewire + Batch Job Exports
119+
- [Installation](/docs/{{package}}/{{version}}/exports-installation)
120+
118121
- ## Editor
119122
- [Installation](/docs/{{package}}/{{version}}/editor-installation)
120123
- [Editor Command](/docs/{{package}}/{{version}}/editor-command)

exports-installation.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Export Plugin Installation
2+
3+
Github: https://github.com/yajra/laravel-datatables-export
4+
5+
Run the following command in your project to get the latest version of the plugin:
6+
7+
`composer require yajra/laravel-datatables-export:^0.12`
8+
9+
## Configuration
10+
11+
> This step is optional if you are using Laravel 5.5
12+
13+
Open the file ```config/app.php``` and then add following service provider.
14+
15+
```php
16+
'providers' => [
17+
// ...
18+
Yajra\DataTables\DataTablesServiceProvider::class,
19+
Yajra\DataTables\ExportServiceProvider::class,
20+
],
21+
```
22+
23+
After completing the step above, use the following command to publish configuration & assets:
24+
25+
```
26+
php artisan vendor:publish --tag=datatables-export --force
27+
```

0 commit comments

Comments
 (0)