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(4mo ago)04↓92.3%GPL-2.0-or-laterPHPPHP &gt;=8.1

Since Feb 27Pushed 4mo 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 today

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

32

—

LowBetter than 69% of packages

Maintenance78

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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

122d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/70802429?v=4)[rochek\_03](/maintainers/rchehd)[@rchehd](https://github.com/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.5k5.9M737](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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