Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 899ff04

Browse files
authoredJul 10, 2017
Merge pull request #7 from DemianD/patch-1
Add information to install the service provider
2 parents fd16c60 + 1727364 commit 899ff04

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ You can install the package via composer:
2727
composer require spatie/laravel-json-api-paginate
2828
```
2929

30+
Next, you must install the service provider:
31+
32+
```php
33+
// config/app.php
34+
'providers' => [
35+
...
36+
Spatie\JsonApiPaginate\JsonApiPaginateServiceProvider::class,
37+
];
38+
```
39+
3040
Optionally you can publish the config file with:
3141

3242
```bash

0 commit comments

Comments
 (0)
Please sign in to comment.