承接 rchehd/reqres_users 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rchehd/reqres_users

最新稳定版本:v0.0.3

Composer 安装命令:

composer require rchehd/reqres_users

包简介

Provides a block listing users from the Reqres dummy API.

README 文档

README

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/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

  • PHP 8.1+
  • Drupal 10 or 11
  • drupal:block module (core)
  • A Reqres API key (obtain from reqres.in)

Installation

Via Composer (recommended)

composer require rchehd/reqres_users
drush en reqres_users

Setup Reqres API key

  1. Visit 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.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-02-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固