PHPackages                             sunnykk/reqres - 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. sunnykk/reqres

ActiveN

sunnykk/reqres
==============

package that provides a service for retrieving users via a remote API

07PHP

Since Dec 22Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

"# reqres" A method to retrieve a single user by ID

A method to retrieve a paginated list of users

The service should convert the returned data to a simple, JSON serializable user model for consumption by the user of the package.

Installation

This project using composer.

composer require sunnykk/reqres:dev-main

\*\* Usage \*\*

require\_once **DIR** . '/vendor/autoload.php'; // Autoload files using Composer autoload

use reqres\\Reqres;

$Reqres = new Reqres();

echo $getuserbyID = $Reqres-&gt;GetUserById(2);

echo $getuserbyID = $Reqres-&gt;PaginatedListOfUsers();

You can check the index file , Where I have added the same code to show the json result :

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

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/35ba4173deb61dcab0d4e8e2ef38e654daae25d37a8c289ffd25b8734f7bb753?d=identicon)[Sunnykumark](/maintainers/Sunnykumark)

---

Top Contributors

[![Sunnykumark](https://avatars.githubusercontent.com/u/121216528?v=4)](https://github.com/Sunnykumark "Sunnykumark (20 commits)")

### Embed Badge

![Health badge](/badges/sunnykk-reqres/health.svg)

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

PHPackages © 2026

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