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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| hyperf/database-sqlite | 0.84 | SQLite database adapter for Hyperf, integrating SQLite connections with hyperf/database for coroutine-based PHP apps. Easily configure lightweight local storage, testing, and small-scale persistence with familiar query builder and ORM support. | 1 | — | 0 | — | 0 | 12.0 | — | MIT | 4 months ago |
|
| hyperf/database | 0.83 | 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/pool | 0.83 | 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/redis | 0.81 | 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/database-pgsql | 0.79 | PostgreSQL driver for Hyperf's database component, adding PDO-based Postgres connectivity to coroutine-driven applications. It integrates with Hyperf models, query builder, migrations, and connection pooling, so you can use familiar Laravel-style database APIs with PostgreSQL. | 12 | — | 3 | — | 6 | 16.3 | 1.7 | MIT | 3 months ago |
|
| hyperf/framework | 0.79 | 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 | 4 months ago |
|
| hyperf/testing | 0.78 | 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 | 4 months ago |
|
| hyperf/model-cache | 0.78 | 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/context | 0.77 | Hyperf/Context provides a coroutine-safe context container for Hyperf applications, letting you store and retrieve request-scoped values without leaking state across coroutines. It offers simple get/set/has APIs and integrates with Hyperf's DI and lifecycle for request data, tracing IDs, and other p... | 6,912 | 2 | 1,296 | 82K | 365 | 87.5 | 47.2 | MIT | 3 weeks ago | |
| hyperf/server | 0.77 | 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 | 4 months ago |
|
| hyperf/coroutine | 0.77 | — | 0 | 0 | 1 | 49K | 1 | 26.8 | 64.0 | MIT | 4 months ago | |
| hyperf/resource | 0.77 | 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 | 4 months ago |
|
| hyperf/code-parser | 0.76 | A lightweight PHP code parser for Hyperf that uses nikic/php-parser to inspect source as an AST. It helps analyze classes, methods, and properties, traverse nodes with visitors, and support code generation and transformation workflows. | 6,912 | 0 | 1,296 | 64K | 364 | 79.1 | 45.8 | MIT | 3 weeks ago | |
| hyperf/http-server | 0.76 | 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 | |
| react/mysql | 0.76 | Async MySQL client for ReactPHP. Pure PHP implementation of the MySQL protocol with no extensions required. Connect via URI, run queries with promises, stream results, and manage connection lifecycle (ping/quit/close). | 339 | 342 | 67 | 21K | 15 | 13.9 | 32.0 | MIT | 2 years ago |
How can I help you explore Laravel packages today?