PHPackages                             jenky/jsonplaceholder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. jenky/jsonplaceholder

ActiveLibrary[API Development](/categories/api)

jenky/jsonplaceholder
=====================

JSON Placeholder SDK

01PHP

Since Mar 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jenky/jsonplaceholder)[ Packagist](https://packagist.org/packages/jenky/jsonplaceholder)[ RSS](/packages/jenky-jsonplaceholder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

JsonPlaceholder PHP SDK example
===============================

[](#jsonplaceholder-php-sdk-example)

[![Latest Version on Packagist](https://camo.githubusercontent.com/45d8a4e1e25fe310497faf179f1b7a8cf1c46c4f85666b9a1814be598546fa0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a656e6b792f6a736f6e706c616365686f6c6465722e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jenky/jsonplaceholder)[![Github Actions](https://camo.githubusercontent.com/d03994126985e001bc1ecc79714429d461ff69b743541664a7fd18f0b9bec733/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a656e6b792f6a736f6e706c616365686f6c6465722f74657374696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d616374696f6e73266c6f676f3d676974687562267374796c653d666f722d7468652d6261646765)](https://github.com/jenky/jenky/jsonplaceholder)[![Codecov](https://camo.githubusercontent.com/3133596b08b5316e3017f74773fd7ea9d1e15d1e7c908b71e8a7dc38b73fdabf/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6a656e6b792f6a736f6e706c616365686f6c6465723f6c6f676f3d636f6465636f76267374796c653d666f722d7468652d6261646765)](https://codecov.io/gh/jenky/jsonplaceholder)[![Total Downloads](https://camo.githubusercontent.com/d478212dda113302b07311f74c83dbcff0d718c7928f8788542c7d2c8122d6b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a656e6b792f6a736f6e706c616365686f6c6465722e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jenky/jsonplaceholder)[![Software License](https://camo.githubusercontent.com/9897f4467850972a38c7db9a4d38280b8fcdac0ada00e9c8c0a72ecfa8551653/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666f722d7468652d6261646765)](LICENSE.md)

This repository serves as a demonstration of how you can build your SDK/integration with [JsonPlaceholder](https://jsonplaceholder.typicode.com/) service using [Fansipan](https://github.com/phanxipang/fansipan) library.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require jenky/jsonplaceholder
```

Usage
-----

[](#usage)

Create new SDK instance

```
$sdk = new Jenky\JsonPlaceholder();
```

Get list of users

```
// GET https://jsonplaceholder.typicode.com/users
$sdk->users()->get();

// GET https://jsonplaceholder.typicode.com/users?_limit=5
$sdk->users()->get(limit: 5);

// GET https://jsonplaceholder.typicode.com/users?_page=2
$sdk->users()->get(page: 2);
```

Get an user by ID

```
// GET https://jsonplaceholder.typicode.com/users/1
$sdk->users()->id(1)->find();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Lynh](https://github.com/jenky)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/783e915bb411d566e8f1035f197842db5e870a2a995b3943bcbe5db2f9abf09b?d=identicon)[Milano](/maintainers/Milano)

---

Top Contributors

[![jenky](https://avatars.githubusercontent.com/u/1808758?v=4)](https://github.com/jenky "jenky (12 commits)")

### Embed Badge

![Health badge](/badges/jenky-jsonplaceholder/health.svg)

```
[![Health](https://phpackages.com/badges/jenky-jsonplaceholder/health.svg)](https://phpackages.com/packages/jenky-jsonplaceholder)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
