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

REST tutorial no longer works #6

Open
weierophinney opened this issue Dec 31, 2019 · 2 comments
Open

REST tutorial no longer works #6

weierophinney opened this issue Dec 31, 2019 · 2 comments

Comments

@weierophinney
Copy link
Contributor

https://apigility.org/documentation/intro/first-rest-service

The step 1 suggests installing the following package:

$ php composer.phar require "zfcampus/statuslib-example:~1.0-dev"

But there are version compatibility issues:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove zendframework/zend-authentication 2.5.3
    - Conclusion: don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.0|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.1|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.2|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.3|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.4|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.5|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.6|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.7|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.8|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.3.9|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.0|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.1|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.10|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.2|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.3|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.4|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.5|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.6|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.7|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.8|don't install zendframework/zend-authentication 2.5.3
    - don't install zendframework/zendframework 2.4.9|don't install zendframework/zend-authentication 2.5.3
    - Installation request for zendframework/zend-authentication (locked at 2.5.3) -> satisfiable by zendframework/zend-authentication[2.5.3].
    - Conclusion: don't install zendframework/zend-hydrator 2.2.1|install zendframework/zendframework 2.3.0|install zendframework/zendframework 2.3.1|install zendframework/zendframework 2.3.2|install zendframework/zendframework 2.3.3|install zendframework/zendframework 2.3.4|install zendframework/zendframework 2.3.5|install zendframework/zendframework 2.3.6|install zendframework/zendframework 2.3.7|install zendframework/zendframework 2.3.8|install zendframework/zendframework 2.3.9|install zendframework/zendframework 2.4.0|install zendframework/zendframework 2.4.1|install zendframework/zendframework 2.4.10|install zendframework/zendframework 2.4.2|install zendframework/zendframework 2.4.3|install zendframework/zendframework 2.4.4|install zendframework/zendframework 2.4.5|install zendframework/zendframework 2.4.6|install zendframework/zendframework 2.4.7|install zendframework/zendframework 2.4.8|install zendframework/zendframework 2.4.9
    - Conclusion: remove zendframework/zend-hydrator 2.2.1|install zendframework/zendframework 2.3.0|install zendframework/zendframework 2.3.1|install zendframework/zendframework 2.3.2|install zendframework/zendframework 2.3.3|install zendframework/zendframework 2.3.4|install zendframework/zendframework 2.3.5|install zendframework/zendframework 2.3.6|install zendframework/zendframework 2.3.7|install zendframework/zendframework 2.3.8|install zendframework/zendframework 2.3.9|install zendframework/zendframework 2.4.0|install zendframework/zendframework 2.4.1|install zendframework/zendframework 2.4.10|install zendframework/zendframework 2.4.2|install zendframework/zendframework 2.4.3|install zendframework/zendframework 2.4.4|install zendframework/zendframework 2.4.5|install zendframework/zendframework 2.4.6|install zendframework/zendframework 2.4.7|install zendframework/zendframework 2.4.8|install zendframework/zendframework 2.4.9
    - zendframework/zend-stdlib 2.7.0 requires zendframework/zend-hydrator ~1.0 -> satisfiable by zendframework/zend-hydrator[1.0.0, 1.1.0].
    - zendframework/zend-stdlib 2.7.1 requires zendframework/zend-hydrator ~1.0 -> satisfiable by zendframework/zend-hydrator[1.0.0, 1.1.0].
    - zendframework/zend-stdlib 2.7.2 requires zendframework/zend-hydrator ~1.0 -> satisfiable by zendframework/zend-hydrator[1.0.0, 1.1.0].
    - zendframework/zend-stdlib 2.7.3 requires zendframework/zend-hydrator ~1.0 -> satisfiable by zendframework/zend-hydrator[1.0.0, 1.1.0].
    - zendframework/zend-stdlib 2.7.4 requires zendframework/zend-hydrator ~1.0 -> satisfiable by zendframework/zend-hydrator[1.0.0, 1.1.0].
    - zendframework/zend-stdlib 2.7.5 requires zendframework/zend-hydrator ~1.0 -> satisfiable by zendframework/zend-hydrator[1.0.0, 1.1.0].
    - zendframework/zend-stdlib 2.7.6 requires zendframework/zend-hydrator ~1.1 -> satisfiable by zendframework/zend-hydrator[1.1.0].
    - zendframework/zend-stdlib 2.7.7 requires zendframework/zend-hydrator ~1.1 -> satisfiable by zendframework/zend-hydrator[1.1.0].
    - Can only install one of: zendframework/zend-hydrator[1.0.0, 2.2.1].
    - Can only install one of: zendframework/zend-hydrator[1.1.0, 2.2.1].
    - Installation request for zendframework/zend-hydrator (locked at 2.2.1) -> satisfiable by zendframework/zend-hydrator[2.2.1].
    - Installation request for zfcampus/statuslib-example ~1.0-dev -> satisfiable by zfcampus/statuslib-example[1.0.x-dev].
    - Conclusion: don't install zendframework/zend-stdlib 3.0.1|install zendframework/zend-stdlib 2.7.0|install zendframework/zend-stdlib 2.7.1|install zendframework/zend-stdlib 2.7.2|install zendframework/zend-stdlib 2.7.3|install zendframework/zend-stdlib 2.7.4|install zendframework/zend-stdlib 2.7.5|install zendframework/zend-stdlib 2.7.6|install zendframework/zend-stdlib 2.7.7|install zendframework/zendframework 2.3.0|install zendframework/zendframework 2.3.1|install zendframework/zendframework 2.3.2|install zendframework/zendframework 2.3.3|install zendframework/zendframework 2.3.4|install zendframework/zendframework 2.3.5|install zendframework/zendframework 2.3.6|install zendframework/zendframework 2.3.7|install zendframework/zendframework 2.3.8|install zendframework/zendframework 2.3.9|install zendframework/zendframework 2.4.0|install zendframework/zendframework 2.4.1|install zendframework/zendframework 2.4.10|install zendframework/zendframework 2.4.2|install zendframework/zendframework 2.4.3|install zendframework/zendframework 2.4.4|install zendframework/zendframework 2.4.5|install zendframework/zendframework 2.4.6|install zendframework/zendframework 2.4.7|install zendframework/zendframework 2.4.8|install zendframework/zendframework 2.4.9
    - Conclusion: remove zendframework/zend-stdlib 3.0.1|install zendframework/zend-stdlib 2.7.0|install zendframework/zend-stdlib 2.7.1|install zendframework/zend-stdlib 2.7.2|install zendframework/zend-stdlib 2.7.3|install zendframework/zend-stdlib 2.7.4|install zendframework/zend-stdlib 2.7.5|install zendframework/zend-stdlib 2.7.6|install zendframework/zend-stdlib 2.7.7|install zendframework/zendframework 2.3.0|install zendframework/zendframework 2.3.1|install zendframework/zendframework 2.3.2|install zendframework/zendframework 2.3.3|install zendframework/zendframework 2.3.4|install zendframework/zendframework 2.3.5|install zendframework/zendframework 2.3.6|install zendframework/zendframework 2.3.7|install zendframework/zendframework 2.3.8|install zendframework/zendframework 2.3.9|install zendframework/zendframework 2.4.0|install zendframework/zendframework 2.4.1|install zendframework/zendframework 2.4.10|install zendframework/zendframework 2.4.2|install zendframework/zendframework 2.4.3|install zendframework/zendframework 2.4.4|install zendframework/zendframework 2.4.5|install zendframework/zendframework 2.4.6|install zendframework/zendframework 2.4.7|install zendframework/zendframework 2.4.8|install zendframework/zendframework 2.4.9
    - zfcampus/statuslib-example 1.0.x-dev requires zendframework/zend-stdlib ~2.3 -> satisfiable by zendframework/zend-stdlib[2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.4.0, 2.4.1, 2.4.10, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8, 2.4.9, 2.5.0, 2.5.1, 2.5.2, 2.6.0, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7], zendframework/zendframework[2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.4.0, 2.4.1, 2.4.10, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8, 2.4.9].
    - Can only install one of: zendframework/zend-stdlib[2.3.0, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.3.1, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.3.2, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.3.3, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.3.4, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.3.5, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.3.6, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.3.7, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.3.8, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.3.9, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.0, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.1, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.10, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.2, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.3, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.4, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.5, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.6, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.7, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.8, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.4.9, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.5.0, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.5.1, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.5.2, 3.0.1].
    - Can only install one of: zendframework/zend-stdlib[2.6.0, 3.0.1].
    - Installation request for zendframework/zend-stdlib (locked at 3.0.1) -> satisfiable by zendframework/zend-stdlib[3.0.1].


Installation failed, reverting ./composer.json to its original content.

Originally posted by @gitomato at zfcampus/apigility-documentation#73

@weierophinney
Copy link
Contributor Author

Same issue here


Originally posted by @galdiolo at zfcampus/apigility-documentation#73 (comment)

@weierophinney
Copy link
Contributor Author

I think it is already resolved.
Please try install the statuslib-example library using:

composer require zfcampus/statuslib-example

The library is updated to works with ZF3 components.
As I can see the documentation is also updated.


Originally posted by @michalbundyra at zfcampus/apigility-documentation#73 (comment)

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