mikebronner / laravel-model-caching

Eloquent model-caching made easy.
MIT License
2.24k stars 213 forks source link

Can't install 0.8.4 in laravel 6.18.20 #357

Closed retronew closed 4 years ago

retronew commented 4 years ago

Describe the bug Laravel-model-caching 0.8.4 is not compatible with laravel 6.18.20, The document says support laravel 6.0+, but the error appeared when I installed the version 0.8.4.

Stack Trace

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: genealabs/laravel-pivot-events[0.3.0, 0.2.1].
    - Can only install one of: genealabs/laravel-pivot-events[0.3.0, 0.2.1].
    - Can only install one of: genealabs/laravel-pivot-events[0.3.0, 0.2.1].
    - genealabs/laravel-model-caching 0.8.4 requires genealabs/laravel-pivot-events ^0.3.0 -> satisfiable by genealabs/laravel-pivot-events[0.3.0].
    - Installation request for genealabs/laravel-model-caching 0.8.4 -> satisfiable by genealabs/laravel-model-caching[0.8.4].
    - Installation request for genealabs/laravel-pivot-events (locked at 0.2.1, required as *) -> satisfiable by genealabs/laravel-pivot-events[0.2.1].

Installation failed, reverting ./composer.json to its original content.

Environment

mikebronner commented 4 years ago

Hi @jkhaoqi110 , this package is no longer compatible with Laravel 6.x, it requires Laravel 7.x. The readme has stated this for some time. Where do you see it documented to support Laravel 6? Please let me know so I can correct the documentation. Thanks!

retronew commented 4 years ago

Hi @jkhaoqi110 , this package is no longer compatible with Laravel 6.x, it requires Laravel 7.x. The readme has stated this for some time. Where do you see it documented to support Laravel 6? Please let me know so I can correct the documentation. Thanks!

https://github.com/GeneaLabs/laravel-model-caching/tree/0.8.4 image

mikebronner commented 4 years ago

Thanks @jkhaoqi110, the readme has been updated for some time in the repo.