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

Package doesn't work on PHP 8 #44

Open
NazimNasser opened this issue Nov 18, 2023 · 2 comments
Open

Package doesn't work on PHP 8 #44

NazimNasser opened this issue Nov 18, 2023 · 2 comments

Comments

@NazimNasser
Copy link

$ composer require vnn/wordpress-rest-api-client
Cannot use vnn/wordpress-rest-api-client's latest version 1.3.0 as it requires php ^7.0 which is not satisfied by your platform.

In PackageDiscoveryTrait.php line 313:

  Package vnn/wordpress-rest-api-client has requirements incompatible with your PHP version, PHP extensions and Composer version:  
    - vnn/wordpress-rest-api-client 1.3.0 requires php ^7.0 which does not match your installed version 8.1.6.
@Bekcomp
Copy link

Bekcomp commented Jan 30, 2024

Not Ideal, but I changed the lock file to
"require": {
"php": "^7.3||^8.0",
"psr/http-message": "^1.0"
},

@Aldo-f
Copy link

Aldo-f commented May 27, 2024

Or install it using this command

composer require vnn/wordpress-rest-api-client dev-master  --ignore-platform-reqs  --with-all-dependencies

Why?

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

3 participants