From 4fc84953c212becc00c9bd129cc9e62fd0a54d01 Mon Sep 17 00:00:00 2001 From: I Wayan Rupadana Date: Sat, 26 Aug 2023 15:49:16 +0800 Subject: [PATCH 1/4] update readme --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3d5feda..14e0c3d 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,12 @@ BlogApiService::routes(); and then you will got this routes; -| Route | Description | ------------------------ -| '/api/blogs' | This will return LengthAwarePaginator | -| '/api/blogs/1' | This will return single resource | - +---------------------------------------------------------- +| Route | Description | +|--------------------------------------------------------| +| '/api/blogs' | This will return LengthAwarePaginator | +| '/api/blogs/1' | This will return single resource | +---------------------------------------------------------- Im using `"spatie/laravel-query-builder": "^5.3"` to handle query and filtering. u can see `"spatie/laravel-query-builder": "^5.3"` [https://spatie.be/docs/laravel-query-builder/v5/introduction](documentation) From e8f0cf262158a47f807ab8320ed1070ddf287bc5 Mon Sep 17 00:00:00 2001 From: Rupadana <34137674+rupadana@users.noreply.github.com> Date: Sat, 26 Aug 2023 15:50:39 +0800 Subject: [PATCH 2/4] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 14e0c3d..3c55a84 100644 --- a/README.md +++ b/README.md @@ -31,12 +31,12 @@ BlogApiService::routes(); and then you will got this routes; ----------------------------------------------------------- ++--------------------------------------------------------+ | Route | Description | -|--------------------------------------------------------| ++--------------------------------------------------------+ | '/api/blogs' | This will return LengthAwarePaginator | | '/api/blogs/1' | This will return single resource | ----------------------------------------------------------- ++--------------------------------------------------------+ Im using `"spatie/laravel-query-builder": "^5.3"` to handle query and filtering. u can see `"spatie/laravel-query-builder": "^5.3"` [https://spatie.be/docs/laravel-query-builder/v5/introduction](documentation) From ef745ae3d1038f47871708ec8e6aca6fb71b992e Mon Sep 17 00:00:00 2001 From: Rupadana <34137674+rupadana@users.noreply.github.com> Date: Sat, 26 Aug 2023 15:51:10 +0800 Subject: [PATCH 3/4] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3c55a84..a3b4567 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,16 @@ and then you will got this routes; | '/api/blogs/1' | This will return single resource | +--------------------------------------------------------+ ++---------------------+ +| Food | Count | ++---------------------+ +|Fish |15 | ++---------------------+ +|Pizza |10 | ++---------------------+ +|Steak |6 | ++---------------------+ + Im using `"spatie/laravel-query-builder": "^5.3"` to handle query and filtering. u can see `"spatie/laravel-query-builder": "^5.3"` [https://spatie.be/docs/laravel-query-builder/v5/introduction](documentation) From 9f0c82be053486b4c16ef7c4ddd3336c9d4920b1 Mon Sep 17 00:00:00 2001 From: Rupadana <34137674+rupadana@users.noreply.github.com> Date: Sat, 26 Aug 2023 15:52:21 +0800 Subject: [PATCH 4/4] Update README.md --- README.md | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index a3b4567..c4fb7e6 100644 --- a/README.md +++ b/README.md @@ -29,24 +29,11 @@ use App\Filament\Resources\BlogResource\Api; BlogApiService::routes(); ``` -and then you will got this routes; - -+--------------------------------------------------------+ -| Route | Description | -+--------------------------------------------------------+ -| '/api/blogs' | This will return LengthAwarePaginator | -| '/api/blogs/1' | This will return single resource | -+--------------------------------------------------------+ - -+---------------------+ -| Food | Count | -+---------------------+ -|Fish |15 | -+---------------------+ -|Pizza |10 | -+---------------------+ -|Steak |6 | -+---------------------+ +and then you will got this routes: + +- '/api/blogs' - This will return LengthAwarePaginator +- '/api/blogs/1' - This will return single resource + Im using `"spatie/laravel-query-builder": "^5.3"` to handle query and filtering. u can see `"spatie/laravel-query-builder": "^5.3"` [https://spatie.be/docs/laravel-query-builder/v5/introduction](documentation)