Download the PHP package highperapp/cache without Composer
On this page you can find all versions of the php package highperapp/cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download highperapp/cache
More information about highperapp/cache
Files in highperapp/cache
Download highperapp/cache
More information about highperapp/cache
Files in highperapp/cache
Vendor highperapp
Package cache
Short Description High-performance caching library with Rust FFI acceleration and AMPHP async support
License MIT
Package cache
Short Description High-performance caching library with Rust FFI acceleration and AMPHP async support
License MIT
Please rate this library. Is it a good library?
Informations about the package cache
HighPer Cache
High-Performance Cache Manager with Redis, Memcached, and in-memory support for ultra-fast data access with Rust FFI optimization and PHP 8.3+ support.
Features
- 🚀 Multi-Driver Support: Redis, Memcached, Valkey, Dragonfly, AWS ElastiCache, and in-memory caching
- ⚡ Async Operations: Non-blocking cache operations with AMPHP v3 and revolt/eventloop
- 🦀 Rust FFI Integration: High-performance Rust FFI with transparent fallback to pure PHP
- 🔄 Auto-Expiration: TTL-based cache expiration management
- 📊 Cache Statistics: Performance metrics and hit/miss ratios
- 🧮 Serialization: Automatic data serialization/deserialization
- 🔧 Configurable: Environment-driven configuration
- 🎯 Interface-Driven: Clean architecture with no abstract classes
- 🌐 Cluster Support: Redis Cluster, Sentinel, and replica configurations
- 📦 Session Store: Full session handler with locking and metadata
- 🔀 HTTP Middleware: PSR-15 compatible cache middleware
- 📋 PSR-16 Compatible: Simple Cache Interface compliance
Installation
Requirements
- PHP 8.3+ (with 8.4 support)
- AMPHP v3+ with revolt/eventloop
- Optional: Rust FFI for maximum performance
- Redis server (for Redis driver)
- Memcached server (for Memcached driver)
Quick Start
Supported Cache Providers
Redis Driver
Valkey Driver
Dragonfly Driver
AWS ElastiCache
Cluster Configuration
Redis Cluster
Environment Variables
Session Store
HTTP Middleware
Advanced Features
Engine Management
Cache Statistics
Bulk Operations
Cache Tags
Performance Optimization
Rust FFI Engine
- Maximum Performance: Native Rust implementation
- Automatic Fallback: Falls back to pure PHP if FFI unavailable
- Memory Efficient: Optimized memory usage and garbage collection
AMPHP Integration
- Async Operations: Non-blocking cache operations
- Parallel Processing: Concurrent request handling
- Worker Pools: Efficient resource management
Environment Configuration
Testing
Architecture
This library follows strict interface-driven architecture:
- No Abstract Classes: Pure interfaces for maximum flexibility
- No Final Keywords: All classes can be extended
- PSR Standards: PSR-16 Simple Cache Interface compliance
- Service Provider Pattern: Framework-agnostic integration
- Dependency Injection: Full IoC container support
License
MIT
All versions of cache with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3|^8.4
amphp/amp Version ^3.0
amphp/parallel Version ^2.0
amphp/redis Version ^2.0
psr/simple-cache Version ^3.0
psr/log Version ^3.0
psr/container Version ^2.0
revolt/event-loop Version ^1.0
amphp/amp Version ^3.0
amphp/parallel Version ^2.0
amphp/redis Version ^2.0
psr/simple-cache Version ^3.0
psr/log Version ^3.0
psr/container Version ^2.0
revolt/event-loop Version ^1.0
The package highperapp/cache contains the following files
Loading the files please wait ...