friendsofhyperf/components

The most popular components for Hyperf.

Fund package maintenance!
huangdijia
hdj.me/sponsors

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 110

Watchers: 3

Forks: 26

Open Issues: 0

pkg:composer/friendsofhyperf/components

v3.2.0-alpha.1 2025-11-02 01:56 UTC

This package is auto-updated.

Last update: 2025-11-04 16:06:48 UTC


README

Latest Test Latest Stable Version License PHP Version Require Hyperf Version Require Ask DeepWiki

ไธญๆ–‡่ฏดๆ˜Ž

๐Ÿš€ The most popular and comprehensive collection of high-quality components for the Hyperf framework, providing 50+ production-ready packages to accelerate your application development.

๐Ÿ“– About

This repository is a monorepo containing a collection of battle-tested, community-driven components that extend the Hyperf framework with additional features and integrations. Each component is independently usable and can be installed separately or as a complete suite.

โœจ Features

  • ๐ŸŽฏ 50+ Components - Comprehensive collection covering various development needs
  • ๐Ÿ”Œ Easy Integration - Seamless integration with Hyperf 3.1+
  • ๐Ÿ“ฆ Modular Design - Install only what you need
  • ๐Ÿ›ก๏ธ Production Ready - Battle-tested in production environments
  • ๐Ÿ“š Well Documented - Comprehensive documentation in multiple languages
  • ๐Ÿงช Fully Tested - High test coverage with PHPUnit and Pest
  • ๐ŸŒ Multi-language - Documentation available in Chinese (Simplified, Traditional, HK) and English

๐Ÿ“‹ Requirements

  • PHP >= 8.1
  • Hyperf >= 3.1.0
  • Swoole or Swow extension

๐Ÿ’พ Installation

Install All Components

composer require friendsofhyperf/components

Install Individual Components

You can install specific components as needed:

# Example: Install Telescope (Debug Assistant)
composer require friendsofhyperf/telescope

# Example: Install HTTP Client
composer require friendsofhyperf/http-client

# Example: Install Model Factory
composer require friendsofhyperf/model-factory --dev

๐ŸŽฏ Quick Start

After installing a component, most packages will automatically register with Hyperf through the ConfigProvider. Some components may require publishing configuration files:

php bin/hyperf.php vendor:publish friendsofhyperf/[component-name]

๐Ÿ“ฆ Available Components

๐Ÿ”ง Development & Debugging Tools

  • telescope - Elegant debug assistant for Hyperf (requests, exceptions, SQL, Redis, etc.)
  • tinker - Powerful REPL for interactive debugging
  • web-tinker - Web-based Tinker interface
  • ide-helper - Enhanced IDE support and autocompletion
  • pretty-console - Beautiful console output formatting

๐Ÿ’พ Database & Models

๐Ÿ—„๏ธ Caching & Storage

  • cache - Advanced caching with multiple drivers
  • lock - Distributed locking mechanisms
  • redis-subscriber - Redis pub/sub subscriber

๐ŸŒ HTTP & API

๐Ÿ“จ Notifications & Communication

๐Ÿ” Search & Data

โš™๏ธ Configuration & Infrastructure

๐Ÿ› ๏ธ Command & Console

๐Ÿงฉ Dependency Injection & Architecture

๐Ÿ” Security & Validation

๐ŸŽจ Utilities & Helpers

  • helpers - Useful helper functions
  • support - Support utilities and classes
  • macros - Macro support for various classes

๐Ÿ“Š Monitoring & Logging

๐Ÿš€ Queue & Jobs

๐Ÿงช Testing

๐Ÿค– AI & External Services

๐Ÿ“ Others

๐Ÿ“š Documentation

For detailed documentation, visit the official documentation website.

Documentation by Language

๐Ÿ”จ Development

Clone the Repository

git clone https://github.com/friendsofhyperf/components.git
cd components

Install Dependencies

composer install

Running Tests

# Run all tests
composer test

# Run specific test suites
composer test:unit      # Unit tests
composer test:lint      # Code style checks
composer test:types     # Type coverage analysis

Code Quality

# Fix code style
composer cs-fix

# Run static analysis
composer analyse

๐Ÿค Contributing

We welcome contributions from the community! Please read our Contributing Guidelines before submitting pull requests.

Development Workflow

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run tests and code quality checks
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

๐ŸŒŸ Support & Community

๐Ÿ”— Mirrors

๐Ÿ‘ฅ Contributors

We are grateful to all the contributors who have helped make this project better!

Contributors

๐Ÿ“„ License

This project is open-sourced software licensed under the MIT License.

Made with โค๏ธ by Deeka Wong and contributors