Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
Releases: alphaolomi/json-placeholder
v2.0.0
d9640df
Compare
What's Changed
- chore(deps): bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by@dependabot in#2
- chore(deps): bump aglipanci/laravel-pint-action from 2.2.0 to 2.3.0 by@dependabot in#4
- chore(deps): bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by@dependabot in#3
- chore(deps): bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by@dependabot in#5
- chore(deps): bump actions/checkout from 3 to 4 by@dependabot in#6
- chore(deps): bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 by@dependabot in#9
- chore(deps): bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by@dependabot in#11
- feat: full update by@alphaolomi in#14
- Update tests by@alphaolomi in#15
- chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.2.0 by@dependabot in#13
New Contributors
- @dependabot made their first contribution in#2
Full Changelog:v0.2.0...v2.0.0
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v1.0.0-beta
cd2223c
Compare
What's Changed
- chore(deps): bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by@dependabot in#2
- chore(deps): bump aglipanci/laravel-pint-action from 2.2.0 to 2.3.0 by@dependabot in#4
- chore(deps): bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by@dependabot in#3
- chore(deps): bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by@dependabot in#5
- chore(deps): bump actions/checkout from 3 to 4 by@dependabot in#6
- chore(deps): bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 by@dependabot in#9
- chore(deps): bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by@dependabot in#11
New Contributors
- @dependabot made their first contribution in#2
Full Changelog:v0.2.0...v1.0.0-beta
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.2.0
Compare
Release Note - Version 0.2
🎉 What's New
- Added a new
users()
resource to the API, which enables more operations such as listing all users, getting a single user, creating a user, updating a user, and deleting a user. This new resource also supports pagination. - Use custom APIs
- Improved testing to ensure that all functionality is working as expected.
Examples
$api =newJson\Api('http://localhost:3000');$users =$api->users()->list();foreach($usersas$user) {echo$user->name;}// create$userr =$api->users()->create(['name' =>'John Doe',// ...]);
Assets2
Uh oh!
There was an error while loading.Please reload this page.
v0.1.0
Compare
🎉 What New
Excited to announce the release of a PHP JSON Placeholder API client! With just a few lines of code, you can easily retrieve and manipulate JSON data from the popular JSON Placeholder API.
To get started, simply install the package using Composer with the commandcomposer require alphaolomi/json-api
, then use the following code to retrieve all users:
$users = (newJson\Api())->send(newJson\Requests\GetAllUsers())->json();print_r($users);// array:10 [// 0 => array:8 [// "id" => 1// "name" => "Leanne Graham"// "username" => "Bret"// "email" => "Sincere@april.biz"// "address" => array:5 [▶]// "phone" => "1-770-736-8031 x56442"// "website" => "hildegard.org"// "company" => array:3 [▶]// ]// 1 => array:8 [▶]// ]
Don't forget to ⭐ star on GitHub andshare the PHP JSON Placeholder API client with friends and colleagues! I appreciate your support and feedback.
Stay tuned for more updates and features.
Assets2
Uh oh!
There was an error while loading.Please reload this page.