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/dns | 0.90 | 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. | 192 | 193 | 30 | 2M | 6 | 12.5 | 56.4 | MIT | 1 year ago | |
| amphp/http-tunnel | 0.87 | AMPHP HTTP Tunnel provides asynchronous HTTP tunneling for PHP using Amp, enabling CONNECT-based proxy tunneling and transparent TCP-over-HTTP streams. Useful for building clients that need to reach services through HTTP proxies with non-blocking I/O. | 13 | 13 | 3 | 42K | 1 | 1.5 | 48.0 | MIT | 1 year ago | |
| amphp/parser | 0.87 | 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. | 150 | 150 | 4 | 3M | 1 | 1.9 | 55.2 | MIT | 2 years ago | |
| amphp/byte-stream | 0.87 | Event-driven byte stream abstractions for PHP 8.1+ in the AMPHP ecosystem. Provides ReadableStream/WritableStream interfaces plus implementations like Payload, buffers, resource/iterable streams, stream chaining, base64 encode/decode, and decompression for fiber-friendly I/O. | 393 | 392 | 28 | 3M | 2 | 12.3 | 54.0 | MIT | 1 year ago | |
| amphp/http-server-static-content | 0.86 | AMPHP HTTP server component for efficiently serving static files (assets, downloads) with correct MIME types, caching headers, range requests, and directory handling. Designed for non-blocking, event-driven apps built on amphp/http-server. | 21 | 21 | 12 | 2K | 1 | 4.2 | 27.5 | MIT | 2 years ago | |
| amphp/http | 0.84 | 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. | 103 | 103 | 10 | 895K | 1 | 8.0 | 54.7 | MIT | 1 year ago | |
| doctrine/cache | 0.84 | Doctrine Cache is a legacy cache component extracted from Doctrine Common, offering multiple cache drivers and interfaces used across Doctrine projects. Note: the library is deprecated and no longer maintained; prefer a PSR-6 or PSR-16 cache instead. | 7,868 | 7,973 | 212 | 5M | 1 | 40.6 | 38.3 | MIT | 4 years ago | |
| amphp/amp | 0.83 | AMPHP (AMP) accelerates PHP concurrency with fibers, eliminating callbacks and generators. Built on PHP 8.1’s cooperative coroutines, it lets you run async tasks like sync code—ideal for I/O-bound apps. Use Amp\async() for parallel execution and Future::await() to handle results seamlessly. No event... | 4,416 | 4,431 | 258 | 3M | 15 | 48.4 | 46.9 | MIT | 9 months ago | |
| matthiasmullie/scrapbook | 0.83 | Scrapbook is a PHP caching library that wraps PSR-6/PSR-16 cache backends with adapters, multi-cache fallbacks, buffering and stampede protection. Use it to add fast, resilient caching with minimal code changes across files, memory or Redis stores. | 322 | 328 | 27 | 84K | 0 | 2.4 | 32.5 | MIT | — | |
| amphp/file | 0.81 | Non-blocking file I/O for PHP 8.1+ in the AMPHP ecosystem. Read/write files or stream via async file handles while keeping apps responsive. Uses multi-process by default, with optional eio/uv/parallel drivers when available. | 110 | 111 | 27 | 42K | 6 | 31.5 | 44.0 | MIT | 4 weeks ago | |
| phpfastcache/phpfastcache | 0.81 | Phpfastcache is a fast, driver-based PHP caching library supporting PSR-6 and PSR-16. Works with many backends (files, APCu, Redis, Memcached, etc.), offers a unified API, and includes a type-aware v9 for PHP 8+. | 0 | 2,457 | — | 100K | — | 35.7 | 24.1 | — | — | |
| psr/simple-cache | 0.81 | PSR-16 Simple Cache interfaces from PHP-FIG. Defines a common API for cache implementations (get/set/delete, TTL, etc.) but provides no caching itself. Use this package to type-hint against the standard and pair with any compatible cache provider. | 8,087 | 8,101 | 55 | 14M | 0 | 29.1 | 46.3 | MIT | 4 years ago | |
| react/cache | 0.79 | ReactPHP async cache component with Promise-based CacheInterface and an in-memory ArrayCache. Inspired by PSR-16 but designed for non-blocking apps. Supports get/set/delete, bulk operations, clear, has, and common fallback patterns. | 0 | 444 | — | 6M | — | 6.6 | 55.2 | — | — | |
| php-http/cache-plugin | 0.76 | PSR-6 cache plugin for HTTPlug clients. Automatically caches HTTP responses (and can serve stale on error) with configurable cache strategies, TTL, and cache key generation. Drop it into your plugin chain to cut latency and reduce repeated requests. | 250 | 251 | 18 | 624K | 7 | 28.5 | 56.6 | MIT | 3 weeks ago | |
| cache/cache | 0.75 | Meta package for the PHP-Cache ecosystem: PSR-6 cache adapters and libraries (tagging, hierarchy, bundles) in one install. Useful for development and contributing, but not actively maintained—new projects should consider Symfony Cache. | 265 | 271 | 81 | 16K | 0 | 7.4 | 31.9 | MIT | 8 years ago |
How can I help you explore Laravel packages today?