pxlrbt / filament-excel

Excel Export for Filament Admin Resources
MIT License
355 stars 68 forks source link

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

Closed kautsar-design closed 1 year ago

kautsar-design commented 1 year ago

$ composer require pxlrbt/filament-excel Info from https://repo.packagist.org: #StandWithUkraine ./composer.json has been updated Running composer update pxlrbt/filament-excel Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require pxlrbt/filament-excel:*" to figure out if any version is installable, or "composer require pxlrbt/filament-excel:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

pxlrbt commented 1 year ago

I think this line is the issue:

phpoffice/phpspreadsheet[1.23.0, ..., 1.24.1] require psr/simple-cache ^1.0 || ^2.0 -> found psr/simple-cache[1.0.0, 1.0.1, 2.0.0, 2.x-dev] but the package is fixed to 3.0.0 (lock file version)

Die you follow this part of the docs? https://github.com/pxlrbt/filament-excel#laravel-9

pxlrbt commented 1 year ago

Closing as stale