hyperf/contract
Core contracts for Hyperf: a set of lightweight PHP interfaces that define common behaviors across the framework (DI, events, middleware, serialization, etc.). Helps decouple components, improve testability, and keep implementations swappable.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| friendsofhyperf/pretty-console | Pretty Console for Hyperf adds clean, readable error and exception output to your console. It renders stack traces and messages with clear formatting and colors, making debugging faster and terminal output easier to scan during development. | 115 | 2 | 28 | 2K | 0 | 16.2 | 23.1 | MIT | 3 months ago | |
| friendsofhyperf/tinker | A Tinker-style REPL for Hyperf, inspired by Laravel Tinker. Inspect your application at runtime, evaluate PHP expressions, and debug models, services, and containers interactively from the console. | 7 | — | 0 | — | 0 | 13.7 | — | MIT | 3 months ago | |
| hyperf/amqp | — | 23 | — | 16 | — | 4 | 19.0 | 0.9 | MIT | 1 month ago |
|
| hyperf/async-queue | — | 9 | — | 7 | — | 2 | 15.2 | — | MIT | 3 months ago |
|
| hyperf/cache | Hyperf/Cache is the coroutine-safe caching component for the Hyperf PHP framework. It provides PSR-16 simple cache, Redis, memory, and file adapters, cache annotations, and configurable TTLs for fast, convenient caching in coroutine applications. | 6,912 | 3 | 1,296 | 61K | 365 | 78.8 | 45.6 | MIT | 3 weeks ago | |
| hyperf/codec | — | 0 | 0 | 0 | 54K | 1 | 22.5 | 63.0 | MIT | 5 months ago | |
| hyperf/collection | A fluent, chainable collection library for Hyperf, offering a rich set of array and dataset manipulation methods such as map, filter, reduce, groupBy, and lazy collections. It simplifies complex data processing with an expressive, Laravel-style API for PHP applications. | 6,912 | 0 | 1,296 | 61K | 365 | 88.4 | 45.6 | MIT | 3 weeks ago | |
| hyperf/command | Hyperf's command component lets you build console applications and Artisan-style commands on the coroutine framework, with argument and option parsing, input/output handling, and seamless integration into Hyperf services. | 5 | 5 | 1 | 70K | 0 | 12.1 | 61.0 | MIT | 5 months ago | |
| hyperf/config | Hyperf/Config is the configuration component for the Hyperf framework. It loads and merges PHP config files, reads values with dot notation, supports environment variables, and provides coroutine-safe configuration access for high-performance, Swoole-based PHP applications. | 4 | — | 6 | — | 0 | 12.0 | — | MIT | 5 months ago |
|
| hyperf/config-center | — | 1 | — | 0 | — | 0 | 18.9 | — | MIT | 3 weeks ago |
|
| hyperf/coroutine | — | 0 | 0 | 1 | 49K | 1 | 26.8 | 64.0 | MIT | 4 months ago | |
| hyperf/crontab | — | 13 | — | 13 | — | 6 | 13.9 | 1.7 | MIT | 5 months ago |
|
| hyperf/database | Hyperf Database brings Laravel-style query builder, ORM, migrations, and connection pooling to Hyperf. Coroutine-safe and PDO-based, it simplifies MySQL/PostgreSQL access in Swoole apps with models, pagination, transactions, and schema tooling. | 19 | — | 18 | — | 3 | 19.5 | 0.4 | MIT | 1 month ago | |
| hyperf/db | — | 0 | — | 2 | — | 1 | 14.7 | — | MIT | 3 months ago |
|
| hyperf/db-connection | hyperf/db-connection provides coroutine-safe database connections and pooling for Hyperf applications. It manages PDO connections, supports transactions, reconnection, and pool configuration, helping build high-performance, concurrent PHP services with MySQL and other databases. | 8 | — | 6 | — | 2 | 12.6 | — | MIT | 5 months ago |
|
| hyperf/devtool | Hyperf Devtool adds command-line code generation to Hyperf applications, letting you scaffold controllers, models, requests, middleware, and other classes with consistent boilerplate. It speeds up development and helps enforce framework conventions. | 6,913 | 3 | 1,296 | 38K | 365 | 78.8 | 42.9 | MIT | 3 weeks ago | |
| hyperf/di | Hyperf/DI is a lightweight dependency injection container for Hyperf, offering PSR-11 compatibility, annotation-based injection, AOP support, and flexible bean management for PHP applications. | 6,913 | 18 | 1,296 | 73K | 365 | 78.8 | 46.6 | MIT | 3 weeks ago | |
| hyperf/dispatcher | Hyperf Dispatcher is a PSR-14 compatible event dispatcher for the Hyperf framework, offering coroutine-friendly event handling, flexible listener registration, and seamless integration with Hyperf's dependency injection container for scalable PHP services. | 6,912 | 2 | 1,296 | 66K | 365 | 79.1 | 46.0 | MIT | 3 weeks ago | |
| hyperf/etcd | — | 6 | 7 | 1 | 3K | 0 | 12.0 | 39.0 | MIT | 5 months ago | |
| hyperf/event | hyperf/event is a lightweight event dispatcher for Hyperf applications. Define events and listeners, dispatch synchronously or via async mechanisms, and keep your domain decoupled. Integrates cleanly with Hyperf’s DI and coroutine-friendly runtime. | 6,912 | 3 | 1,296 | 74K | 365 | 87.5 | 46.7 | MIT | 3 weeks ago | |
| hyperf/exception-handler | Exception handler component for Hyperf that converts exceptions into HTTP responses. Register custom handlers, control reporting and rendering, and add consistent, configurable error handling to Hyperf applications. | 1 | — | 0 | — | 0 | 11.8 | — | MIT | 5 months ago |
|
| hyperf/filesystem | — | 4 | — | 4 | — | 0 | 12.0 | — | MIT | 5 months ago |
|
| hyperf/framework | Hyperf is a high-performance PHP coroutine framework built on Swoole and Swow. This package provides the core framework foundation: dependency injection, AOP, annotations, event handling, and a component architecture for scalable microservices and web apps. | 6 | — | 1 | — | 0 | 11.8 | — | MIT | 5 months ago |
|
| hyperf/grpc-client | — | 3 | — | 6 | — | 2 | 12.5 | — | MIT | 5 months ago |
|
| hyperf/grpc-server | — | 6,912 | 3 | 1,297 | 7K | 365 | 79.0 | 35.7 | MIT | 3 weeks ago | |
| hyperf/http2-client | — | 6,912 | 2 | 1,297 | 4K | 365 | 79.0 | 34.4 | MIT | 3 weeks ago | |
| hyperf/http-message | — | 4 | 4 | 12 | 54K | 0 | 26.5 | 63.5 | MIT | 5 months ago | |
| hyperf/http-server | Hyperf HTTP Server provides a high-performance, coroutine-based HTTP server for the Hyperf framework, built on Swoole or Swow. It offers PSR-7/PSR-15 middleware support, powerful routing, annotation-driven controllers, and fast request handling for scalable PHP microservices. | 6,913 | 10 | 1,296 | 67K | 365 | 79.1 | 46.1 | MIT | 3 weeks ago | |
| hyperf/json-rpc | — | 6,912 | 5 | 1,297 | 15K | 365 | 79.0 | 38.6 | MIT | 3 weeks ago | |
| hyperf/kafka | — | 7 | — | 4 | — | 8 | 14.3 | 2.5 | MIT | 5 months ago |
|
| hyperf/logger | — | 4 | — | 5 | — | 0 | 15.6 | — | MIT | 2 months ago |
|
| hyperf/model-cache | Hyperf model-cache adds automatic caching for Hyperf ORM models, reducing repeated database queries and speeding up reads. It integrates with model events for cache invalidation and supports configurable TTL and cache stores. | 2 | — | 1 | — | 1 | 15.7 | — | MIT | 3 months ago | |
| hyperf/model-listener | Hyperf Model Listener adds simple, configurable event listeners to Hyperf's Eloquent-style models. Hook into creating, updating, deleting, and other model lifecycle events to run custom logic cleanly without cluttering your model classes. | 1 | — | 0 | — | 0 | 12.0 | — | MIT | 5 months ago |
|
| hyperf/nacos | — | 22 | 22 | 15 | 12K | 7 | 17.1 | 44.2 | MIT | 3 months ago | |
| hyperf/paginator | Pagination component for the Hyperf framework, offering Laravel-compatible paginators for query builders and collections. It handles page resolution, query strings, and length-aware pagination, making it easy to build paginated API responses in Swoole-based PHP applications. | 3 | — | 2 | — | 1 | 12.2 | — | MIT | 5 months ago |
|
| hyperf/pimple | hyperf/pimple 是基于 pimple/pimple 的轻量级 PSR-11 容器组件,提供简单的 ContainerFactory 创建容器与 Provider 注册机制,帮助在非 Hyperf 框架中低成本接入 Hyperf 组件(如 translation/config),便于集成与复用。 | 3 | 3 | 0 | 3K | 0 | 1.8 | 38.7 | — | 3 years ago | |
| hyperf/pool | hyperf/pool provides a coroutine-safe connection pool for Hyperf applications, managing reusable connections with configurable limits, idle timeouts, and wait strategies. It helps reduce connection overhead and improve performance in high-concurrency PHP services. | 6 | — | 3 | — | 0 | 12.3 | — | MIT | 4 months ago |
|
| hyperf/process | Hyperf/Process adds robust process management to Hyperf applications, making it easy to define custom processes, control their lifecycle, handle signals, and run isolated workers alongside the coroutine server. Ideal for background jobs, queues, and long-running tasks. | 6,912 | 1 | 1,296 | 69K | 365 | 78.8 | 46.3 | MIT | 3 weeks ago | |
| hyperf/rate-limit | — | 4 | — | 1 | — | 0 | 11.9 | — | MIT | 5 months ago |
|
| hyperf/redis | Coroutine-friendly Redis client for Hyperf with connection pooling, standard Redis commands, pipelines, transactions, Lua scripting, and pub/sub. Integrates with Hyperf's DI and config for caching, queues, and real-time features in high-concurrency PHP apps. | 6,912 | 9 | 1,296 | 66K | 365 | 78.8 | 46.1 | MIT | 3 weeks ago | |
| hyperf/resource | Hyperf Resource brings Laravel-style API resource classes to Hyperf, making it easy to transform models and collections into clean, structured JSON responses with reusable definitions, conditional fields, and pagination support. | 1 | — | 0 | — | 1 | 11.8 | — | MIT | 5 months ago |
|
| hyperf/rpc | — | 6,912 | 0 | 1,297 | 18K | 365 | 79.0 | 39.2 | MIT | 3 weeks ago | |
| hyperf/rpc-client | — | 6,912 | 3 | 1,297 | 16K | 365 | 79.0 | 38.7 | MIT | 3 weeks ago | |
| hyperf/rpc-multiplex | — | 7 | 8 | 2 | 3K | 1 | 12.1 | 39.2 | MIT | 5 months ago | |
| hyperf/rpc-server | — | 1 | — | 4 | — | 0 | 12.0 | — | MIT | 5 months ago |
|
| hyperf/scout | — | 6 | — | 3 | — | 4 | 13.1 | 0.8 | MIT | 5 months ago | |
| hyperf/serializer | hyperf/serializer provides flexible serialization and deserialization for Hyperf applications, with contracts and implementations for converting objects, arrays, and data structures to and from formats such as JSON and PHP serialized strings. It integrates with Hyperf's DI and coroutine runtime for... | 0 | — | 0 | — | 0 | 12.0 | — | MIT | 5 months ago |
|
| hyperf/server | Core server component for Hyperf, providing coroutine-driven HTTP and WebSocket server infrastructure built on Swoole and Swow. It handles connection management, request dispatching, lifecycle events, and graceful shutdown for high-performance PHP services. | 3 | — | 3 | — | 1 | 12.2 | — | MIT | 5 months ago |
|
| hyperf/session | — | 4 | — | 5 | — | 1 | 12.1 | — | MIT | 5 months ago |
|
| hyperf/signal | Signal handling component for Hyperf. Register annotation-based handlers for OS signals such as SIGTERM, SIGHUP, and SIGUSR1, dispatching them safely in coroutine contexts to enable graceful shutdown and custom signal-driven workflows. | 3 | — | 0 | — | 0 | 11.8 | — | MIT | 5 months ago |
|
| hyperf/socketio-server | — | 26 | — | 6 | — | 15 | 16.5 | 5.4 | MIT | 5 months ago |
|
| hyperf/support | — | 1 | 2 | 1 | 45K | 0 | 29.9 | 65.0 | MIT | 2 months ago | |
| hyperf/testing | Official testing utilities for the Hyperf framework: PHPUnit integration, coroutine-aware helpers, HTTP assertions, and database testing support, making it easy to write fast, reliable tests for Swoole-based PHP applications. | 4 | — | 4 | — | 0 | 11.9 | — | MIT | 5 months ago |
|
| hyperf/tracer | — | 6,912 | 11 | 1,297 | 17K | 365 | 79.0 | 39.0 | MIT | 3 weeks ago | |
| hyperf/translation | — | 7 | — | 2 | — | 2 | 12.3 | — | MIT | 5 months ago |
|
| hyperf/utils | — | 6,912 | 8 | 1,297 | 36K | 365 | 79.0 | 42.7 | MIT | 3 weeks ago | |
| hyperf/validation | — | 12 | — | 10 | — | 1 | 17.8 | — | MIT | 1 month ago |
|
| hyperf/view | hyperf/view is the view rendering component for the Hyperf framework, providing a simple, configurable way to render templates with support for popular engines such as Twig, Blade, and Smarty. It integrates cleanly with Hyperf's container and lifecycle, making dynamic HTML views easy to build and ma... | 5 | — | 2 | — | 0 | 12.2 | — | MIT | 5 months ago |
|
| hyperf/view-engine | View engine abstraction for Hyperf, bringing Laravel-style view rendering and Blade templates to coroutine-based PHP apps. Configure multiple template engines—Blade, Smarty, Twig, Plates—and render views with a familiar manager API, caching, and namespace support. | 3 | 3 | 1 | 12K | 1 | 14.9 | 54.1 | MIT | 3 months ago | |
| hyperf/watcher | Hyperf Watcher monitors your application files and automatically restarts the Hyperf server when changes are detected. It simplifies local development by eliminating manual restarts, with configurable watch paths and ignore rules for a smoother, faster coding workflow. | 17 | 19 | 13 | 21K | 8 | 17.4 | 50.1 | — | 3 months ago | |
| hyperf/websocket-server | — | 12 | — | 3 | — | 0 | 12.4 | — | MIT | 4 months ago |
|
| hypervel/auth | — | 0 | — | 1 | — | 0 | 0.0 | — | MIT | — |
|
| hypervel/broadcasting | — | 0 | — | 1 | — | 0 | 0.0 | — | MIT | — |
|
| hypervel/bus | — | 0 | — | 1 | — | 0 | 0.0 | — | MIT | — |
|
| hypervel/foundation | — | 33 | 0 | 17 | 2K | 0 | 21.3 | 29.7 | MIT | 5 days ago | |
| hypervel/http | — | 0 | — | 1 | — | 0 | 0.0 | — | MIT | — |
|
| hypervel/log | — | 0 | — | 1 | — | 0 | 0.0 | — | MIT | — |
|
| hypervel/notifications | — | 0 | — | 1 | — | 0 | 0.0 | — | MIT | — |
|
| hypervel/object-pool | — | 0 | — | 1 | — | 0 | 0.0 | — | MIT | — |
|
| hypervel/queue | — | 0 | — | 1 | — | 0 | 0.0 | — | MIT | — |
|
| hypervel/translation | — | 0 | — | 1 | — | 0 | 0.0 | — | MIT | — |
|
How can I help you explore Laravel packages today?