Skip to content

Components

Every component can be installed independently with composer require friendsofhyperf/<component>. Install friendsofhyperf/components only when you need the complete collection.

Development and Diagnostics

  • Telescope: inspect requests, exceptions, queries, Redis commands, and more.
  • Tinker: run an interactive REPL in a Hyperf application.
  • Web Tinker: expose Tinker through a browser interface.
  • IDE Helper: generate IDE metadata for application classes.
  • Pretty Console: format command-line output.
  • Command Benchmark: measure command execution.

Database and Models

Cache and Coordination

  • Cache: use an expressive cache API.
  • Lock: coordinate work with distributed locks.
  • Redis Subscriber: consume Redis Pub/Sub messages.

HTTP and External Services

Messaging and Notifications

Configuration and Infrastructure

Security and Validation

Framework Extensions

  • Facade: define Laravel-style facades.
  • Macros: add macros to framework classes.
  • Helpers: use additional helper functions.
  • Support: use shared utilities, fluent dispatch, and backoff strategies.
  • Exception Event: dispatch events for exceptions.

Commands and Runtime