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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| hyperf/model-cache | 0.82 | 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 | |
| cache/filesystem-adapter | 0.80 | PSR-6 and PSR-16 cache pools backed by Flysystem 2.x and 3.x. FilesystemCachePool stores SHA-256 hashed keys in 256 shard directories for portable filenames and smaller directories, with configurable cache folders, filesystem accessors, and custom layouts via getFilePath(). | 70 | 72 | 21 | 68K | 0 | 20.8 | 47.0 | MIT | 2 months ago | |
| hyperf/redis | 0.80 | 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/pool | 0.79 | 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 |
|
| cache/memcached-adapter | 0.79 | 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 | |
| cache/redis-adapter | 0.79 | PSR-6 cache pool backed by Redis using the PhpRedis extension. Part of the PHP Cache ecosystem, with shared docs for advanced features like tagging and hierarchy. Supports Redis, RedisArray, and RedisCluster clients. | 53 | 58 | 15 | 50K | 0 | 24.1 | 48.2 | MIT | 2 months ago | |
| jord-jd/do-file-cache-psr-6 | 0.79 | PSR-6 cache adapter for DO File Cache, letting you use the PSR-6 caching interface with a simple file-based backend. Install via Composer: composer require jord-jd/do-file-cache-psr-6. | 8 | 8 | 12 | 13K | 0 | 16.0 | 49.2 | LGPL-3.0 | 3 months ago | |
| hyperf/memory | 0.78 | Hyperf Memory provides memory-related utilities for Hyperf applications, offering helpers to inspect and manage PHP process memory usage. It integrates with the coroutine framework to help monitor memory limits and support safer, more predictable long-running services. | 6,912 | 0 | 1,296 | 52K | 365 | 78.8 | 44.7 | MIT | 3 weeks ago | |
| cache/memcache-adapter | 0.78 | PSR-6 cache pool implementation backed by the Memcache extension. Create a Memcache client, connect to your server, and use MemcacheCachePool for standards-based caching. Part of the PHP Cache (php-cache) ecosystem. | 6 | 7 | 4 | 5K | 0 | 19.0 | 44.9 | MIT | 2 months ago | |
| hyperf/context | 0.78 | 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 | |
| desarrolla2/cache | 0.78 | Immutable PSR-16 simple cache library for PHP with multiple adapters (APCu, File, Memcached, Redis, MongoDB, etc.) plus a Chain adapter. Supports configurable options like default TTL via withOption/withOptions. Aims to be complete, correct, and fast. | 134 | 148 | 37 | 16K | 0 | 2.4 | 28.6 | MIT | 7 years ago | |
| cache/apc-adapter | 0.78 | — | 9 | 9 | 3 | 1K | 0 | 2.8 | 27.9 | MIT | 4 years ago | |
| cache/chain-adapter | 0.78 | PSR-6 cache pool chain adapter that combines multiple cache pools (e.g., APCu + Redis) into a single CachePoolChain. Part of PHP-Cache, with optional features like tagging and hierarchy via shared docs. Install with composer and use with minimal setup. | 11 | 11 | 6 | 6K | 0 | 23.6 | 43.2 | MIT | 2 months ago | |
| cache/predis-adapter | 0.78 | PSR-6 cache pool implementation backed by Predis (Redis) from the PHP Cache organization. Create a Predis\Client and wrap it in PredisCachePool for fast, standards-compliant caching with shared features like tagging and hierarchy support. | 24 | 27 | 18 | 17K | 0 | 24.4 | 46.1 | MIT | 2 months ago | |
| cache/void-adapter | 0.77 | PSR-6 “void” (null/blackhole) cache pool that never stores anything and always returns empty cache items. Useful for disabling caching in tests or no-op environments. Part of the PHP-Cache organization. | 18 | 18 | 4 | 20K | 0 | 23.4 | 49.2 | MIT | 2 months 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 |
|
| symfony/cache | 0.77 | Symfony Cache provides fast, low-overhead PSR-6 and PSR-16 caching with adapters for popular backends, plus Symfony cache-contracts CacheInterface and TagAwareCacheInterface support. | 4,154 | 4,179 | 66 | 14M | 0 | 57.5 | 57.0 | MIT | 1 week ago | |
| psr/simple-cache | 0.77 | 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,072 | 8,087 | 56 | 25M | 0 | 29.1 | 49.8 | MIT | 5 years ago | |
| psx/cache | 0.77 | A caching component for the PSX framework that provides a simple, consistent API for storing and retrieving cached data across different backends, helping PHP applications reduce repeated work and improve response times. | 2 | 2 | 1 | 456 | 0 | 0.1 | 30.2 | Apache-2.0 | — | |
| cache/adapter-common | 0.77 | Shared classes and interfaces for the PHP Cache organization’s PSR-6 cache pools. Provides common building blocks used across adapters, with support for features like tagging and cache hierarchies via the shared php-cache documentation. | 110 | 111 | 30 | 272K | 0 | 26.4 | 54.9 | MIT | 2 months ago |
How can I help you explore Laravel packages today?