Skip to content

Support PHP8.1 #58

@sjavadez

Description

@sjavadez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions