For my package we make use of the Laravel cache,
Every cache key we create is prefixed, so we get mypackage-config, mypackage-md5ofafilename At times I need to flush all cache files that my package has created, the issue? I only know the pattern of the cache keys, I don't know the entire key!
So, I need a way to go Cache::forget('mypackage-*') or similar, is this possible?
If it was just for my system I know I am using the file cache, so I could manually unlink the files, but because it is a generic package I don't know what cache method the end user is using, I just know the interface (aka the Laravel cache interface).