๐Ÿš€ Laravel SmartCache

Intelligent caching optimization for Laravel applications

Laravel SmartCache is a powerful caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

๐Ÿ” Auto-Detection

Automatically detects large cache payloads and applies appropriate optimization strategies.

๐Ÿ“ฆ Data Compression

Compresses data before caching using gzip and other compression algorithms.

๐Ÿงฉ Smart Chunking

Chunks large arrays or objects into manageable parts for better performance.

๐Ÿง  Intelligent Serialization

Advanced serialization techniques for optimal data storage and retrieval.

โš™๏ธ Extensible Strategies

Extensible strategy pattern for custom optimization implementations.

๐Ÿ›ก๏ธ Driver Compatibility

Optional fallback for incompatible cache drivers with seamless integration.

๐Ÿ“ฆ Installation

composer require iazaran/smart-cache

๐Ÿงช Quick Usage

use SmartCache\Facades\SmartCache; // Store large data efficiently SmartCache::put('key', $largeData, now()->addMinutes(10)); // Retrieve data seamlessly $data = SmartCache::get('key'); // Use helper function smart_cache(['key' => $largeData], 600);

๐Ÿ”ง Supported Cache Drivers

๐ŸŽฏ Use Cases

๐Ÿ“Š Performance Benefits

๐Ÿ“š View Documentation ๐Ÿ“ฅ Download Latest ๐Ÿ“ฆ Packagist

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

๐Ÿ“„ License

Laravel SmartCache is open-sourced software licensed under the MIT license.