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

Support PHP8.1 #58

Open
sjavadez opened this issue Aug 10, 2022 · 0 comments
Open

Support PHP8.1 #58

sjavadez opened this issue Aug 10, 2022 · 0 comments

Comments

@sjavadez
Copy link

Having error with PHP 8.1:

Changed current directory to /home/javad/.config/composer
Using version ^4.7 for bitfumes/laravel-packer
./composer.json has been updated
Running composer update bitfumes/laravel-packer
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel-zero/framework[v6.0.0, ..., v6.4.0] require php ^7.2 -> your php version (8.1.8) does not satisfy that requirement.
    - laravel-zero/framework[v7.0.0, ..., v7.2.1] require php ^7.2.5 -> your php version (8.1.8) does not satisfy that requirement.
    - laravel-zero/framework[v8.0.0, ..., v8.3.0] require php ^7.3 -> your php version (8.1.8) does not satisfy that requirement.
    - laravel-zero/framework[v8.4.0, ..., v8.9.1] require symfony/console ^5.1 -> found symfony/console[v5.1.0, ..., v5.4.11] 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.
    - laravel-zero/framework v8.10.0 requires symfony/console ^5.3 -> found symfony/console[v5.3.0, ..., v5.4.11] 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.
    - bitfumes/laravel-packer[v4.7.0, ..., v4.7.5] require laravel-zero/framework ^6.0|^7.0|^8.0 -> satisfiable by laravel-zero/framework[v6.0.0, ..., v6.4.0, v7.0.0, v7.1.0, v7.2.0, v7.2.1, v8.0.0, ..., v8.10.0].
    - Root composer.json requires bitfumes/laravel-packer ^4.7 -> satisfiable by bitfumes/laravel-packer[v4.7.0, ..., v4.7.5].

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 bitfumes/laravel-packer:*" to figure out if any version is installable, or "composer require bitfumes/laravel-packer:^2.1" if you know which you need.

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

1 participant