As I remember the caches are stored in /storage/cache and the beginning of each cache starts with a timestamp which is the expiration time. You could parse the file for it here but the folders they reside in are named with hashes, and not your cache key. Perhaps when you cache something you can also store the cache key and expiration in the database, if you needed that.
time() + ($timeToCacheInMinutes * 60)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community