ibis icon indicating copy to clipboard operation
ibis copied to clipboard

cant install on php8

Open stillzombie opened this issue 4 years ago • 4 comments

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].`

stillzombie avatar Dec 02 '20 12:12 stillzombie

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 avatar Jan 13 '21 11:01 ajthinking

@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

keanuplayz avatar Jan 30 '21 13:01 keanuplayz

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

dcblogdev avatar Jul 20 '22 22:07 dcblogdev

I have the same issue image

muath-ye avatar Oct 03 '22 08:10 muath-ye