amphp/cache
Non-blocking cache library for Amp-based PHP apps. Provides async cache interfaces and adapters (e.g., in-memory, filesystem, Redis) with TTL support, atomic operations, and PSR-style ergonomics for high-concurrency services.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/websocket-client | 0.88 | Async WebSocket client for PHP built on Amp. Connect to ws/wss endpoints with fiber-friendly concurrency, consume realtime APIs, test WebSocket servers, and support custom handshakes, headers, heartbeats, and rate limits. | 164 | 165 | 16 | 3M | 6 | 8.0 | 56.4 | MIT | 1 year ago | |
| amphp/http | 0.86 | Event-driven HTTP primitives for PHP 8.1+ in the AMPHP ecosystem. Provides shared building blocks for HTTP clients and servers, including IANA status codes with default reasons, RFC 6265 cookie parsing/creation (Set-Cookie/Cookie), and header utilities. | 105 | 105 | 10 | 3M | 1 | 7.9 | 55.2 | MIT | 1 year ago | |
| cache/memcached-adapter | 0.86 | PSR-6 and PSR-16 cache pool backed by the Memcached extension, with tag and hierarchical key support, native bulk operations, and binary protocol enabled by default. | 15 | 18 | 4 | 25K | 0 | 19.5 | 50.5 | MIT | 2 months ago | |
| amphp/http-server-router | 0.85 | amphp/http-server-router is a fast, async router for Amp’s HTTP server. It maps paths and methods to request handlers, supports route groups and parameters, and provides middleware-style dispatching for building clean, high-performance PHP microservices. | 39 | 39 | 6 | 30K | 1 | 2.9 | 39.6 | MIT | 3 years ago | |
| amphp/mysql | 0.85 | amphp/mysql is an asynchronous MySQL client for PHP built on Amp. It offers non-blocking queries, connection pooling, prepared statements, transactions, and streaming results for high-concurrency, event-driven applications. | 377 | 377 | 62 | 70K | 6 | 16.4 | 36.6 | NOASSERTION | 5 months ago | |
| psr/cache | 0.85 | PSR-6 caching interfaces for PHP. Defines CacheItemPoolInterface and CacheItemInterface contracts for interoperable caching, without providing an implementation. Use with any PSR-6 compatible cache library (see Packagist providers). | 5,174 | 5,205 | 46 | 15M | 0 | 26.4 | 47.7 | MIT | — | |
| amphp/sql | 0.85 | Async SQL library for PHP built on Amp. Provides non-blocking database connections, query execution, and result handling with a consistent API, enabling high-concurrency apps without blocking I/O. Supports common drivers and integrates cleanly with event-loop workflows. | 21 | 20 | 5 | 38K | 1 | 11.5 | 47.6 | MIT | 8 months ago | |
| amphp/cluster | 0.85 | amphp/cluster lets PHP applications scale across multiple processes and machines, providing cluster nodes, workers, message passing, job distribution, and synchronization primitives on top of Amp for building resilient distributed systems. | 61 | — | 11 | — | 6 | 2.3 | 1.5 | MIT | 1 year ago |
|
| amphp/websocket-server | 0.85 | Async WebSocket server for PHP built on Amp’s event-driven concurrency. Handles upgrades, connections, message streaming, backpressure and graceful shutdown, making it easy to build real-time apps like chat, dashboards and live notifications. | 126 | 126 | 18 | 29K | 2 | 5.2 | 32.5 | MIT | 2 years ago | |
| amphp/dns | 0.85 | Async DNS resolver for PHP built on Amp. Provides non-blocking hostname lookups, record queries, caching and timeouts with an event loop, ideal for high-concurrency applications and CLI tools needing fast, reliable DNS without blocking I/O. | 198 | 197 | 30 | 5M | 4 | 32.0 | 65.6 | MIT | 6 days ago | |
| cache/array-adapter | 0.85 | In-memory PSR-6 and PSR-16 cache pool for tests and short-lived scripts, with tags, hierarchical keys, and an optional item limit. Values last only for the current PHP process. | 56 | 57 | 15 | 74K | 0 | 21.5 | 49.3 | MIT | 2 months ago | |
| amphp/phpunit-util | 0.85 | Small utility for simplifying async testing in PHPUnit with AMPHP’s fiber-based concurrency. Integrates seamlessly with AsyncTestCase to run tests as coroutines, ensuring smooth execution of I/O-bound operations like sockets, streams, and HTTP requests. Works with PHP 8.1+. Ideal for testing concurr... | 22 | 22 | 8 | 18K | 0 | 24.5 | 47.0 | MIT | 6 days ago | |
| amphp/amp | 0.85 | amphp/amp provides futures and cancellations as core primitives for asynchronous PHP. Built on PHP 8.1 fibers and Revolt, it lets you write concurrent code that reads like synchronous code, using Amp\async() and Future::await() without callbacks. | 4,430 | 4,448 | 259 | 4M | 16 | 59.3 | 54.2 | MIT | 3 months ago | |
| amphp/websocket | 0.85 | Shared WebSocket components for AMPHP’s event-driven, fiber-based concurrency stack. Provides core abstractions used by amphp/websocket-server and amphp/websocket-client to build fast, non-blocking WebSocket clients and servers (PHP 8.1+). | 46 | 46 | 6 | 2M | 0 | 4.9 | 55.3 | MIT | 2 years ago | |
| einar-hansen/laravel-psr-6-cache | 0.85 | Laravel package that bridges Laravel’s cache system with PSR-6. Use Laravel’s cache stores through a PSR-6 CacheItemPoolInterface for interoperability with PSR-compliant libraries, with simple configuration and drop-in integration. | 1 | 1 | 1 | 4K | 0 | 0.6 | 45.7 | MIT | 4 years ago | |
| amphp/artax | 0.85 | Deprecated (unmaintained) async HTTP/1.1 client for PHP built on Amp. Implements HTTP over raw TCP sockets (no ext/curl), with keep-alive pooling, redirects, gzip decoding, streaming bodies, TLS, cookies, and proxy support. Use amphp/http-client instead. | 23 | 26 | 4 | 5K | 0 | 0.1 | 22.5 | MIT | — | |
| fabpot/amphp-sqlite3 | 0.85 | fabpot/amphp-sqlite3 provides asynchronous, non-blocking access to SQLite3 databases for Amp-based PHP applications, using promises and coroutines so queries can run without blocking the event loop. | 7 | 6 | 3 | 16K | 0 | 0.2 | 45.7 | MIT | — | |
| amphp/postgres | 0.85 | Asynchronous, non-blocking PostgreSQL client for PHP built on Amp. Supports connection pooling, prepared statements, transactions, and concurrent queries, making it ideal for high-performance event-driven applications. | 107 | — | 22 | — | 5 | 9.3 | 2.4 | MIT | 8 months ago |
|
| amphp/parser | 0.85 | Streaming parser helper for AMPHP: build incremental, generator-based parsers for line-, delimiter-, or length-based protocols. Feed data via Parser::push(); yield a delimiter string, byte length, or null to flush/await more input. PHP 7.4+ compatible. | 156 | 152 | 4 | 3M | 1 | 1.9 | 55.2 | MIT | 2 years ago | |
| amphp/sync | 0.85 | Async synchronization primitives for Amp PHP: mutexes, semaphores, locks, and a synchronized helper. Coordinate concurrent fibers, ensure mutual exclusion, and cap parallel work (e.g., limit HTTP requests) with simple, safe abstractions. | 197 | 195 | 12 | 6M | 0 | 26.6 | 65.0 | MIT | 6 days ago |
How can I help you explore Laravel packages today?