Commit Graph

41 Commits

Author SHA1 Message Date
Jonathan Martz
ded787aeb3 write first placeholder test 2025-01-12 11:57:48 +01:00
Jonathan Martz
967198cdeb add php unit with json printer 2025-01-12 11:57:45 +01:00
Jonathan Martz
2ab938c2f4 remove vardump from getFullList 2024-11-14 16:54:18 +01:00
Jonathan Martz
ad593198b0 fix getFullList batch bug 2024-11-14 15:50:04 +00:00
Jonathan Martz
3baeeeab00 update docs for upload replace values with types 2023-10-09 20:17:54 +02:00
Jonathan Martz
64a0f24e55 update docs for upload 2023-10-09 20:16:19 +02:00
Jonathan Martz
bbe4857b34 add file upload function to collection 2023-10-09 18:28:19 +02:00
Jonathan Martz
a3ac61ac2d add perPage from params to queryParams 2023-06-30 19:30:21 +02:00
Jonathan Martz
47a861be48 update readme and composer 2023-06-02 11:38:30 +02:00
Jonathan
67ad212554 add getAll and update logic 2023-04-15 22:13:03 +02:00
Jonathan
df8ed036fc add Settings Class, add authAsUser method for collection 2023-04-15 20:50:48 +02:00
Martz
9d125d8cc2 return response of create 2023-03-31 00:20:39 +02:00
Martz
ec7434f089 add logic for get list 2023-03-29 02:30:28 +02:00
Martz
951f6c472d fix broken composer json 2023-02-28 21:15:02 +01:00
Martz
78fd67a12d remove users collection and used code 2023-02-28 21:12:38 +01:00
Martz
c52ff18bea merge into master 2023-02-24 21:50:49 +01:00
Martz
47699576a4 move curl logic into own doRequest function 2023-02-24 21:48:27 +01:00
Jonathan Martz
c526611fb7 Merge pull request #2 from HolyHugo/useQueryParams_getFullList
Adding queryParams in curl call
2023-02-24 11:45:04 +01:00
Jonathan Martz
eee39f409c Merge pull request #1 from HolyHugo/master
Update Client.php  collection function (#1)
2023-02-24 11:18:53 +01:00
BOCKTAELS Hugo
b0b6fbaaa1 Adding queryParams in curl call
using http_build_query()
we can simply pass the parameters  describe in the Api doc.
ex  :  $this->pb->collection('coolCollection')->getFullList(200,['filter'=> $filter])
It can be used for all other function.
2023-02-22 10:55:46 +01:00
BOCKTAELS Hugo
b06f49d219 Update Client.php collection function (#1)
The collection function had 2 parameters (url and page) that were unused and useless.
2023-02-22 09:36:30 +01:00
mkay-development
2eae1c56ee add composer require command 2023-02-19 11:28:17 +01:00
Martz
9c67639d2f implement doReqeust for dublicated code on request curl 2023-02-18 20:22:40 +01:00
Martz
8b748f4d73 add logic for get One and get First, update phpDocs 2023-02-18 19:30:26 +01:00
Martz
98ae821c59 update phpDocs 2023-02-18 19:21:13 +01:00
Martz
54f064093c add delete logic and rename authWithPassword to authAsAdmin 2023-02-18 18:06:02 +01:00
Martz
9224293de2 add token auth 2023-02-16 22:36:16 +01:00
Martz
2b8639223b add logic to auth as admin 2023-02-16 20:48:50 +01:00
Martz
49b63ca434 return request instead of collection 2023-02-16 19:40:08 +01:00
Martz
51c403abd0 update readme 2023-02-05 20:50:25 +01:00
Martz
c586b4b9ff add User Collection, adapt crud, refactor crud, add readme 2023-02-05 20:06:44 +01:00
Martz
1d1beef82a update classmap 2023-02-05 17:56:26 +01:00
Martz
c8523b3b06 start with Collection Class 2023-02-05 17:55:36 +01:00
Martz
855c7c0c87 fix autoload 2.0 2023-02-05 17:14:16 +01:00
Martz
8b9f94ca89 fix autoload 2023-02-05 17:11:41 +01:00
Martz
1de3d4d395 rename pocketbase to client 2023-02-05 17:07:42 +01:00
Martz
35b680e712 update classmap namespace 2023-02-05 17:04:42 +01:00
Martz
eeb7e445a4 update classmap namespace 2023-02-05 17:02:43 +01:00
Martz
531d1befd9 fix classmap 2023-02-05 16:56:45 +01:00
Martz
8ad728efdc add gitignore 2023-02-05 16:52:17 +01:00
Martz
e6ce2ec650 Initial commit 2023-02-05 16:52:09 +01:00