marvin255/in-memory-cache
Lightweight in-memory cache for Laravel and PHP apps. Store, retrieve, and expire values for the lifetime of a request or process, making it ideal for memoization and avoiding repeated expensive work without an external cache backend. Simple API, no infrastructure required.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| beste/in-memory-cache | 0.83 | A PSR-6 in-memory cache for PHP that works as a sensible default implementation and in tests. It supports PSR-20 clocks, including frozen clocks, so you can test time-based expiry without a real cache server. Simple, fast, and dependency-free. Install with composer require beste/in-memory-cache. | 26 | 26 | 0 | 2M | 0 | 18.9 | 63.2 | MIT | 2 months ago | |
| cash/lrucache | 0.82 | Memory-based, non-persistent Least Recently Used (LRU) cache for PHP. Supports integer or string keys and any value types, with a fixed max size and automatic eviction of least-recently-used entries when capacity is exceeded. | 36 | 36 | 2 | 67K | 0 | 0.2 | 45.0 | MIT | — | |
| smorken/array-cache | 0.82 | A lightweight in-memory array cache driver for Laravel. Store and retrieve cached values in a simple PHP array, ideal for testing, per-request caching, and avoiding external cache backends during development. | 0 | 0 | — | 186 | — | 0.0 | 31.4 | — | — | |
| zendframework/zend-memory | 0.82 | Zend Memory provides PHP memory-management utilities, including a memory manager, memory objects, and storage containers with limit and sliding-window strategies. Useful for controlling memory in long-running processes and cache-like workflows. | 17 | — | 12 | — | 0 | 0.2 | — | BSD-3-Clause | 7 years ago |
|
| spiral/cache | 0.81 | Spiral Cache provides a simple caching abstraction for Spiral/PHP apps, with support for multiple storage backends and configurable cache pools. Use it to speed up repeated operations, cache computed values, and centralize cache access and invalidation. | 0 | 0 | 0 | 4K | 0 | 0.0 | 49.4 | MIT | — | |
| simplesoftwareio/simple-cache | 0.81 | A lightweight Laravel helper for cleaner cache usage, wrapping the cache repository with simple remember and forget methods so you can store and retrieve values without repetitive boilerplate. | 23 | 23 | 0 | 0 | 0 | 0.1 | — | MIT | 9 years ago | |
| chillerlan/php-cache | 0.81 | A lightweight PSR-16 caching library for PHP offering pluggable storage adapters for Memcached, Redis, filesystem, and in-memory caches. Supports TTLs, namespacing, and simple key-value storage with minimal setup. | 15 | — | 3 | — | 0 | 0.2 | — | MIT | 2 years ago |
|
| tonybogdanov/memoize | 0.81 | Memoize caches the results of expensive function and method calls so repeated invocations return instantly. Simple attributes and helpers make it easy to add per-request or persistent memoization to Laravel and PHP apps, cutting duplicate queries and computation with minimal code changes. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| openclassrooms/cache | 0.80 | openclassrooms/cache is a straightforward caching package for PHP applications. It lets you store and retrieve reusable data to avoid redundant work, improve response times, and simplify everyday caching needs. Lightweight and easy to integrate into OpenClassrooms-style projects. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| iprodev/php-easycache | 0.80 | A lightweight, easy-to-use caching library for PHP that simplifies storing and retrieving cached data through a clean API. Ideal for small projects needing straightforward caching without extra complexity, with Composer installation and minimal setup. | 11 | 11 | 3 | 2 | 0 | 2.3 | 1.3 | MIT | 11 months ago | |
| cache/prefixed-cache | 0.80 | Decorates any PSR-6 or PSR-16 cache so every key automatically carries a fixed prefix. PrefixedCachePool::create() also supports native tags, and prefixes are safely encoded before joining to keys. | 2 | 2 | 1 | 1K | 0 | 18.2 | 40.1 | MIT | 2 months ago | |
| phpfluent/cache | 0.80 | phpfluent/cache brings a fluent, expressive API to caching in Laravel. Store, retrieve, remember, and forget values through chainable calls with TTL and tag support, keeping cache logic readable and out of your controllers. | 12 | — | 4 | — | 0 | 0.2 | — | MIT | 8 years ago |
|
| besimple/memcached | 0.80 | Laravel-friendly Memcached integration that simplifies using the PHP Memcached extension for caching and session storage. Provides configuration helpers and adapter glue so your app can talk to Memcached servers with minimal setup. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — |
How can I help you explore Laravel packages today?