swayok / alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea
MIT License
169 stars 26 forks source link

Laravel 10 support #39

Closed bjhijmans closed 1 year ago

bjhijmans commented 1 year ago

I'm not in a particular hurry to upgrade to Laravel 10, which was released yesterday. At a glance, I expect most cache drivers to just work. However, I did spot that there were changes to Redis cache tags: https://laravel.com/docs/10.x/upgrade#redis-cache-tags.

Do those changes impact this package, and should we be running the new command when using the alternative Redis cache?

swayok commented 1 year ago

Hi. Changes in Laravel 10 won't affect this package because it uses independent cache libs to do the job.

mattsches commented 1 year ago

It may be useful to update the README where it says

### For Laravel 5.4+

Add to `composer.json`:

    "require": {
        "swayok/alternative-laravel-cache": "5.4.*"
    }

to include newer 6.* releases.

I could only install the lib in Laravel 10 after changing the version to a 6.