dreamfactory/df-cache
DreamFactory cache package offering a simple caching layer for API services, with helpers to store, retrieve, and invalidate cached data. Integrates with Laravel-style workflows to reduce repeated backend calls and speed up responses.
dreamfactory/df-cache is not a general-purpose Laravel cache package — it's a DreamFactory Platform 2.0 service module. If you're not already running DreamFactory (or building custom services on top of dreamfactory/df-core), you don't want it; use Laravel's built-in Cache facade instead.composer require dreamfactory/df-cache. In a full DreamFactory deployment it's typically pulled in via the platform's composer manifest, so you may not need to add it explicitly.composer.json — check the df-core and Laravel version constraints. These determine whether the package will even boot in your app.src/ — expect a service provider extending DreamFactory's base provider plus a handler/controller class that the platform's service manager registers.config/ file) — this is where the cache store and TTL defaults live, not Laravel's config/cache.php.config/app.php (Laravel 5.x style) and confirm the service type shows up in the admin UI..env, not Laravel's config/cache.php defaults. Point it at the same Redis/database you use elsewhere if you want shared cache state between services.Illuminate\Support\Facades\Cache against the same Redis/DB connection — same store, none of the DreamFactory coupling.array so tests don't require Redis.df-cache tracks a specific df-core and Laravel generation (DreamFactory 2.0 is Laravel 5.x). Mixing it with Laravel 10/11 will fail on framework API changes. Verify constraints before composer require.config/cache.php won't change behavior unless the handler reads from it. Trace the handler constructor to see where the store is actually configured.How can I help you explore Laravel packages today?