livewire-datatables
livewire-datatables copied to clipboard
Compatibility Laravel 9
I am running into an issue installing on Laravel 9:
Using version ^0.7.0 for mediconesystems/livewire-datatables
./composer.json has been updated
Running composer update mediconesystems/livewire-datatables
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpoffice/phpspreadsheet[1.18.0, ..., 1.22.0] require psr/simple-cache ^1.0 -> found psr/simple-cache[1.0.0, 1.0.1] but it conflicts with your root composer.json require (^3.0).
- maatwebsite/excel[3.1.0, ..., 3.1.25] require php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
- maatwebsite/excel[3.1.26, ..., 3.1.35] require illuminate/support 5.8.*|^6.0|^7.0|^8.0 -> found illuminate/support[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
- mediconesystems/livewire-datatables v0.7.0 requires maatwebsite/excel ^3.1 -> satisfiable by maatwebsite/excel[3.1.0, ..., 3.1.x-dev].
- maatwebsite/excel[3.1.36, ..., 3.1.x-dev] require phpoffice/phpspreadsheet ^1.18 -> satisfiable by phpoffice/phpspreadsheet[1.18.0, ..., 1.22.0].
- Root composer.json requires mediconesystems/livewire-datatables ^0.7.0 -> satisfiable by mediconesystems/livewire-datatables[v0.7.0].
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 mediconesystems/livewire-datatables:*" to figure out if any version is installable, or "composer require mediconesystems/livewire-datatables:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
I have managed to install using the -W option
so
composer require mediconesystems/livewire-datatables -W
Hope that helps:)
Same issue...
sail composer require mediconesystems/livewire-datatables -W
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^0.7.0 for mediconesystems/livewire-datatables
./composer.json has been updated
Running composer update mediconesystems/livewire-datatables --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpoffice/phpspreadsheet[1.15.0, ..., 1.22.0] require psr/simple-cache ^1.0 -> found psr/simple-cache[1.0.0, 1.0.1] but it conflicts with your root composer.json require (^3.0).
- maatwebsite/excel[3.1.0, ..., 3.1.25] require php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
- mediconesystems/livewire-datatables v0.7.0 requires maatwebsite/excel ^3.1 -> satisfiable by maatwebsite/excel[3.1.0, ..., 3.1.x-dev].
- maatwebsite/excel[3.1.28, ..., 3.1.30] require phpoffice/phpspreadsheet 1.16.* -> satisfiable by phpoffice/phpspreadsheet[1.16.0].
- maatwebsite/excel[3.1.31, ..., 3.1.x-dev] require phpoffice/phpspreadsheet ^1.18 -> satisfiable by phpoffice/phpspreadsheet[1.18.0, ..., 1.22.0].
- maatwebsite/excel 3.1.27 requires phpoffice/phpspreadsheet ^1.16 -> satisfiable by phpoffice/phpspreadsheet[1.16.0, ..., 1.22.0].
- maatwebsite/excel 3.1.26 requires phpoffice/phpspreadsheet ^1.15 -> satisfiable by phpoffice/phpspreadsheet[1.15.0, ..., 1.22.0].
- Root composer.json requires mediconesystems/livewire-datatables ^0.7.0 -> satisfiable by mediconesystems/livewire-datatables[v0.7.0].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require mediconesystems/livewire-datatables:*" to figure out if any version is installable, or "composer require mediconesystems/livewire-datatables:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Add compatibility with php8
Problem 1 - phpoffice/phpspreadsheet[1.18.0, ..., 1.22.0] require psr/simple-cache ^1.0 -> found psr/simple-cache[1.0.0, 1.0.1] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - maatwebsite/excel[3.1.0, ..., 3.1.25] require php ^7.0 -> your php version (8.1.0) does not satisfy that requirement. - maatwebsite/excel[3.1.26, ..., 3.1.35] require illuminate/support 5.8.*|^6.0|^7.0|^8.0 -> found illuminate/support[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require. - mediconesystems/livewire-datatables v0.8.0 requires maatwebsite/excel ^3.1 -> satisfiable by maatwebsite/excel[3.1.0, ..., 3.1.x-dev]. - maatwebsite/excel[3.1.36, ..., 3.1.x-dev] require phpoffice/phpspreadsheet ^1.18 -> satisfiable by phpoffice/phpspreadsheet[1.18.0, ..., 1.22.0]. - Root composer.json requires mediconesystems/livewire-datatables ^0.8.0 -> satisfiable by mediconesystems/livewire-datatables[v0.8.0].
I have managed to install using the -W option so
composer require mediconesystems/livewire-datatables -W
Hope that helps:)
Yes it installs but is not able to load classes.
I fixed the issue by doing the process on this page. https://forum.html.it/forum/showthread.php?threadid=2976197 And installing https://docs.laravel-excel.com/3.1/getting-started/
I fixed the issue by doing the process on this page. https://forum.html.it/forum/showthread.php?threadid=2976197 And installing https://docs.laravel-excel.com/3.1/getting-started/
Thank you @lanceaparicio fixed by using composer require psr/simple-cache:^1.0 maatwebsite/excel
composer require psr/simple-cache:^1.0.1 phpoffice/phpspreadsheet
I fixed the issue by doing the process on this page. https://forum.html.it/forum/showthread.php?threadid=2976197 And installing https://docs.laravel-excel.com/3.1/getting-started/
fixed using composer require psr/simple-cache:^1.0.1 phpoffice/phpspreadsheet
I am getting ...
no matches found: psr/simple-cache:^1.0
Update Solved
composer require "psr/simple-cache":"^1.0"