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

ZF3 (zend-mvc) incompatibility #206

Open
hopsey opened this issue Jul 18, 2016 · 1 comment
Open

ZF3 (zend-mvc) incompatibility #206

hopsey opened this issue Jul 18, 2016 · 1 comment

Comments

@hopsey
Copy link

hopsey commented Jul 18, 2016

When doing

composer require zfr/zfr-rest:0.5.*

on zf3 skeleton app I get

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for zfr/zfr-rest 0.5.* -> satisfiable by zfr/zfr-rest[v0.5.0].
- zfr/zfr-rest v0.5.0 requires zendframework/zend-mvc ~2.2 -> satisfiable by zendframework/zend-mvc[2.2.0, 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.1, 2.2.10, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 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.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0rc5, 2.4.0rc6, 2.4.0rc7, 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.5.3, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0, 2.7.1, 2.7.10, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7, 2.7.8, 2.7.9] but these conflict with your requirements or minimum-stability.

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

@bakura10
Copy link
Member

Hi,

This is because ZfrRest expects 2.x components. You could submit a PR to update it. But now I would rather recommend using something like Zend Expressive rather than ZfrRest. It's a bit more manual but definitely gives much more control over what is happening.

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

2 participants