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

Composer requirement error on php 8.3.x #639

Closed
kenseiatwork opened this issue Jul 26, 2024 · 2 comments
Closed

Composer requirement error on php 8.3.x #639

kenseiatwork opened this issue Jul 26, 2024 · 2 comments
Assignees
Labels
Bug Bugs

Comments

@kenseiatwork
Copy link

Laravel/valet php requirement is: "php": "^7.1|^8.0"
valet-plus uses: "php": ">=7.1 <8.3"

When running on php 8.3.x and running
composer global update

Results in a composer requirement error
`Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires weprovide/valet-plus 3.x -> satisfiable by weprovide/valet-plus[3.0.0, 3.0.1, 3.0.2, 3.0.3].
- weprovide/valet-plus[3.0.0, ..., 3.0.3] require php >=7.1 <8.3 -> your php version (8.3.9) does not satisfy that requirement.`

@kenseiatwork kenseiatwork changed the title Composer requirement error on 8.3.x Composer requirement error on php 8.3.x Jul 26, 2024
@mluzitano
Copy link

We ran into the same thing, and here's how we resolved it:
composer global require weprovide/valet-plus --update-with-dependencies --ignore-platform-req=php

@mischabraam mischabraam self-assigned this Oct 24, 2024
@mischabraam mischabraam added the Bug Bugs label Oct 24, 2024
@mischabraam
Copy link
Member

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

No branches or pull requests

3 participants