jord-jd/do-file-cache
Laravel file cache driver that stores cache entries as PHP “.do” files. Simple, fast, git-friendly caching for local/dev use, with easy setup and predictable files you can inspect, commit, or clear without a database.
Adopt When:
Look Elsewhere When:
For Executives: "This lightweight PHP caching library lets us reduce server costs and improve performance for read-heavy workloads without relying on expensive external services. For example, it could cut API response times by 30% for static data in our [Product X] dashboard—enabling faster user experiences at a fraction of the cost of Redis. Ideal for MVP phases or constrained environments, it’s a low-risk way to validate caching benefits before scaling. Think of it as ‘caching on steroids’ for developers who can’t use Redis."
For Engineering: *"jord-jd/do-file-cache is a drop-in Laravel-compatible solution for file-based caching, perfect for:
php artisan cache:clear to reset.For Developers: *"This package lets you cache anything to files with Laravel’s familiar syntax:
Cache::put('key', $data, now()->addMinutes(10)); // File-backed!
config/cached.php)
✅ Expensive query results (e.g., DB::select())
✅ Local testing (no Redis needed).
Try it: composer require jord-jd/do-file-cache and swap file driver in .env."*How can I help you explore Laravel packages today?