Closed matthewjumpsoffbuildings closed 2 years ago
Probably linked to:
Temporary fix
composer require psr/simple-cache:^2.0 maatwebsite/excel
Indeed has to be installed like that, the docs of the main package already reflected this, the Excel Nova docs too now.
Prerequisites
Versions
Description
When attempting to install Laravel Nova Excel via Composer, I am getting the following error message:
Steps to Reproduce
Attempt to install the package on the specified version of PHP
Expected behavior:
The package installs normally
Actual behavior:
The package doesnt install, instead throwing the error message shared above
Additional Information
If I manually edit the file in question (
Maatwebsite\Excel\Cache\MemoryCache.php
) and update the method signatures for almost all of the methods, to be compatible with thePsr\SimpleCache\CacheInterface
, for example:Becomes:
Then everything works fine and the generation of autoload files goes smoothly