Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant install on php8 #25

Open
stillzombie opened this issue Dec 2, 2020 · 4 comments
Open

cant install on php8 #25

stillzombie opened this issue Dec 2, 2020 · 4 comments

Comments

@stillzombie
Copy link

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

@ajthinking
Copy link

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

@keanuplayz
Copy link

keanuplayz commented Jan 30, 2021

@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

@dcblogdev
Copy link
Contributor

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

@muath-ye
Copy link

muath-ye commented Oct 3, 2022

I have the same issue
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants