Download the PHP package rchehd/reqres_users without Composer
On this page you can find all versions of the php package rchehd/reqres_users. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rchehd/reqres_users
More information about rchehd/reqres_users
Files in rchehd/reqres_users
Download rchehd/reqres_users
More information about rchehd/reqres_users
Files in rchehd/reqres_users
Vendor rchehd
Package reqres_users
Short Description Provides a block listing users from the Reqres dummy API.
License GPL-2.0-or-later
Package reqres_users
Short Description Provides a block listing users from the Reqres dummy API.
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package reqres_users
Reqres Users
Drupal 10/11 module that fetches users from the Reqres dummy REST API and displays them in a paginated, AJAX-powered block.
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/syncor 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
- PHP 8.1+
- Drupal 10 or 11
drupal:blockmodule (core)- A Reqres API key (obtain from reqres.in)
Installation
Via Composer (recommended)
Setup Reqres API key
- Visit reqres.in and create an account.
- Then, visit your profile page and copy the API key.
- Paste it here - /admin/config/services/reqres-users
- Clear the cache if you have changed the API key.
All versions of reqres_users with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
guzzlehttp/guzzle Version ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
guzzlehttp/guzzle Version ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
The package rchehd/reqres_users contains the following files
Loading the files please wait ...