PHPackages                             richard-parnaby-king/developer-task-22 - 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. richard-parnaby-king/developer-task-22

ActiveLibrary[API Development](/categories/api)

richard-parnaby-king/developer-task-22
======================================

ActiveHouse Developer interview task - 2022: A service for retrieving users via a remote API

00PHP

Since Oct 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/richard-parnaby-king/developer-task-22)[ Packagist](https://packagist.org/packages/richard-parnaby-king/developer-task-22)[ RSS](/packages/richard-parnaby-king-developer-task-22/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ActiveHousing DeveloperTask22
=============================

[](#activehousing-developertask22)

DeveloperTask22 is a small test package that provides a service for retrieving users via a remote API ( dummy API for the purposes of this test).

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

[](#installation)

```
composer require richard-parnaby-king/developer-task-22
```

Usage
-----

[](#usage)

```
$request = new \RichardParnabyKing\DeveloperTask22\Request();

//Fetch one user
$user = $request->getUser(1); //\RichardParnabyKing\DeveloperTask22\Model\User
var_dump($user->getFirstName()); //George

//Fetch a user that does not exist
$user = $request->getUser(23); //null

//Fetch a page of users.
$users = $request->getUsers(1); //\RichardParnabyKing\DeveloperTask22\Model\User[]

//Exceed pagination resultset of users (there's only two pages of user data, try to
// get data from page 3)
$users = $request->getUser(3); //Empty array
```

Dependencies
------------

[](#dependencies)

This package requires the following dependencies:

- curl/curl

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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/8b123a06bc7b21c43aedcbc7a5998bd03666a2ca772d99664b55725e12477c3d?d=identicon)[RichardParnabyKing](/maintainers/RichardParnabyKing)

---

Top Contributors

[![rparnabyking](https://avatars.githubusercontent.com/u/61009472?v=4)](https://github.com/rparnabyking "rparnabyking (4 commits)")[![richard-parnaby-king](https://avatars.githubusercontent.com/u/4233826?v=4)](https://github.com/richard-parnaby-king "richard-parnaby-king (1 commits)")

### Embed Badge

![Health badge](/badges/richard-parnaby-king-developer-task-22/health.svg)

```
[![Health](https://phpackages.com/badges/richard-parnaby-king-developer-task-22/health.svg)](https://phpackages.com/packages/richard-parnaby-king-developer-task-22)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

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

GitHub API v3 client

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

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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