PHPackages                             rchehd/reqres\_users - 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. rchehd/reqres\_users

ActiveDrupal-module[API Development](/categories/api)

rchehd/reqres\_users
====================

Provides a block listing users from the Reqres dummy API.

v0.0.3(2mo ago)04↓50%GPL-2.0-or-laterPHPPHP &gt;=8.1

Since Feb 27Pushed 2mo agoCompare

[ Source](https://github.com/rchehd/reqres_users)[ Packagist](https://packagist.org/packages/rchehd/reqres_users)[ RSS](/packages/rchehd-reqres-users/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (6)Used By (0)

Reqres Users
============

[](#reqres-users)

Drupal 10/11 module that fetches users from the [Reqres](https://reqres.in) dummy REST API and displays them in a paginated, AJAX-powered block.

Features
--------

[](#features)

- Block showing user email, forename, and surname in a table
- AJAX pagination — page changes replace only the block, no full reload
- Configurable items per page, cache TTL, and column labels
- API response cached with hash-based invalidation (cache is busted only when data changes)
- API key stored in Drupal State — never written to `config/sync` or version control
- Filter extension point via a Symfony event
- Multiple block instances on the same page are fully supported
- PHPUnit unit tests runnable outside a full Drupal installation

Requirements
------------

[](#requirements)

- PHP 8.1+
- Drupal 10 or 11
- `drupal:block` module (core)
- A Reqres API key (obtain from [reqres.in](https://reqres.in))

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

[](#installation)

### Via Composer (recommended)

[](#via-composer-recommended)

```
composer require rchehd/reqres_users
drush en reqres_users
```

### Setup Reqres API key

[](#setup-reqres-api-key)

1. Visit [reqres.in](https://reqres.in) and create an account.
2. Then, visit your profile page and copy the API key.
3. Paste it here - /admin/config/services/reqres-users
4. Clear the cache if you have changed the API key.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance85

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

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.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

77d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4851bc37a284163d99d607cd322442d2a50c739cfcf45f2238c1994a3c371bbd?d=identicon)[rchehd](/maintainers/rchehd)

---

Top Contributors

[![rchehd](https://avatars.githubusercontent.com/u/70802429?v=4)](https://github.com/rchehd "rchehd (11 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[currency-cloud/client

A PHP library which implements the complete functionality of v2 of the The Currency Cloud API.

17327.2k](/packages/currency-cloud-client)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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