ibis
ibis copied to clipboard
cant install on php8
i guess this is a very common issue now, so when trying to install ibis on php8 the result is the following:
`Your requirements could not be resolved to an installable set of packages.
Problem 1 - mpdf/mpdf[v8.0.0, ..., v8.0.3] require php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 -> your php version (8.0.0) does not satisfy that requirement. - mpdf/mpdf[v8.0.4, ..., v8.0.7] require php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 -> your php version (8.0.0) does not satisfy that requirement. - themsaid/ibis v0.1.3 requires mpdf/mpdf ^8.0 -> satisfiable by mpdf/mpdf[v8.0.0, ..., v8.0.7]. - Root composer.json requires themsaid/ibis ^0.1.3 -> satisfiable by themsaid/ibis[v0.1.3].`
A workaround is to use cgr
(a safe alternative to composer global require)
composer global require consolidation/cgr
cgr global require themsaid/ibis
mkdir mybook
cd mybook
ibis init
@ajthinking
cgr
has a dependency that is incompatible with PHP8.
Package consolidation/cgr has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version
still, an issue trying to install on PHP 8
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires themsaid/ibis ^0.1.4 -> satisfiable by themsaid/ibis[v0.1.4].
- themsaid/ibis v0.1.4 requires symfony/console ^4.2|^5.0 -> found symfony/console[v4.2.0, ..., v4.4.43, v5.0.0, ..., v5.4.10] but the package is fixed to v6.1.2 (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.
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 themsaid/ibis:*" to figure out if any version is installable, or "composer require themsaid/ibis:^2.1" if you know which you need.
can't install cgr
on PHP 8
I have the same issue