Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit 58a806d

Browse files
committed
Change suggestion to our forked project
1 parent d9fa6af commit 58a806d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ You can install the package via composer:
2323
composer require skore-labs/laravel-json-api
2424
```
2525

26+
### Extra steps (important notice)
27+
28+
Although the package doesn't require anything else to make it work, is recommended to use a package like `spatie/laravel-query-builder`.
29+
30+
Though for some limitations (they removed the ability to append attributes), you should check this fork we did and maintain: [skorelabs/laravel-query-builder](https://github.com/skore/laravel-query-builder)
31+
2632
## Usage
2733

2834
As simple as importing the class `SkoreLabs\JsonApi\Http\Resources\JsonApiCollection` for collections or `SkoreLabs\JsonApi\Http\Resources\JsonApiResource` for resources.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"orchestra/testbench": "^4.0|^6.0|^7.0"
2727
},
2828
"suggest": {
29-
"spatie/laravel-query-builder": "Allows to include data on your API responses following the JSON:API"
29+
"skorelabs/laravel-query-builder": "Allows to include data on your API responses following the JSON:API"
3030
},
3131
"autoload": {
3232
"psr-4": {

0 commit comments

Comments
 (0)