livewire-datatables icon indicating copy to clipboard operation
livewire-datatables copied to clipboard

COMPOSER UPDATE issues with PHP 8 installed. original version was installed on PHP 7.4

Open Triumfator-M opened this issue 5 years ago • 2 comments

Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - Root composer.json requires mediconesystems/livewire-datatables ^0.4.3 -> satisfiable by mediconesystems/livewire-datatables[v0.4.3]. - mediconesystems/livewire-datatables v0.4.3 requires php ^7.2.5 -> your php version (8.0.2) does not satisfy that requirement.

Triumfator-M avatar Mar 08 '21 05:03 Triumfator-M

This doesn't work if i change php requirements to^7.2.5|^8.0

Triumfator-M avatar Mar 08 '21 09:03 Triumfator-M

Based on the #97 issue, there's already PR and it's merged to master. The bad news is that it's untagged release so to bypass the problem use --ignore-platform-reqs. The install command become composer require mediconesystems/livewire-datatables --ignore-platform-reqs and the update command become composer update --ignore-platform-reqs

Though this is a bad idea for long term solution since any packages that need specific PHP version and/or PHP extension but not activated/installed yet also got bypassed.

nathanaelytj avatar Apr 01 '21 09:04 nathanaelytj