Skip to content

Commit 98c8108

Browse files
Andrew NiemantsverdrietAndrew Niemantsverdriet
authored andcommitted
Only tell users of Laravel < 5.5 to register the service provider
1 parent fc94903 commit 98c8108

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ Add package to your composer:
88

99
composer require jimmyjs/laravel-report-generator
1010

11-
Then, add the ServiceProvider to the providers array in config/app.php
11+
If you are running Laravel > 5.5 that's all you need to do. If you are using Laravel < 5.5 add the ServiceProvider to the providers array in config/app.php
1212

1313
Jimmyjs\ReportGenerator\ServiceProvider::class,
1414

15-
For more better speed on generating pdf report, I recommend you to use laravel snappy package. To using laravel snappy, you should install `wkhtmltopdf` to work with this package [(Jump to wkhtmltopdf installation)](#wkhtmltopdf-installation)
16-
1715
**Optionally**, you can add this to your aliases array in config/app.php
1816

1917
'PdfReport' => Jimmyjs\ReportGenerator\Facades\PdfReportFacade::class,
2018
'ExcelReport' => Jimmyjs\ReportGenerator\Facades\ExcelReportFacade::class,
2119
'CSVReport' => Jimmyjs\ReportGenerator\Facades\CSVReportFacade::class,
2220

21+
For more better speed on generating pdf report, I recommend you to use laravel snappy package. To using laravel snappy, you should install `wkhtmltopdf` to work with this package [(Jump to wkhtmltopdf installation)](#wkhtmltopdf-installation)
22+
2323
## Usage
2424
This package is make use of `chunk` method (Eloquent / Query Builder) so it can handle big data without memory exhausted.
2525

0 commit comments

Comments
 (0)