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

installation via composer failure #4

Open
samsonasik opened this issue Jan 24, 2016 · 3 comments
Open

installation via composer failure #4

samsonasik opened this issue Jan 24, 2016 · 3 comments

Comments

@samsonasik
Copy link
Contributor

with latest zend-expressive-skeleton with php 7:

$ composer require los/loslog
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Using version ^2.0 for los/loslog
./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
    - los/loslog 2.0.0 requires zendframework/zend-log ~2.6 -> satisfiable by zendframework/zend-log[2.6.0].
    - los/loslog 2.0.1 requires zendframework/zend-log ~2.6 -> satisfiable by zendframework/zend-log[2.6.0].
    - los/loslog 2.0.2 requires zendframework/zend-log ~2.6 -> satisfiable by zendframework/zend-log[2.6.0].
    - Conclusion: don't install zendframework/zend-log 2.6.0
    - Installation request for los/loslog ^2.0 -> satisfiable by los/loslog[2.0.0, 2.0.1, 2.0.2].
@Lansoweb
Copy link
Owner

@samsonasik I just created 2 new skeleton with different combination os packages and could install this module in both (using php 7.0.2). Could you send me your composer.json? Thanks!

@samsonasik
Copy link
Contributor Author

this is my composer.json:

"require": {
        "php": "^5.5 || ^7.0",
        "roave/security-advisories": "dev-master",
        "zendframework/zend-expressive": "~1.0.0@rc || ^1.0",
        "zendframework/zend-expressive-helpers": "^2.0",
        "zendframework/zend-stdlib": "~2.7",
        "zendframework/zend-expressive-fastroute": "^1.0",
        "zendframework/zend-servicemanager": "^2.7.3 || ^3.0",
        "ocramius/proxy-manager": "^1.0",
        "zendframework/zend-expressive-platesrenderer": "^1.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^4.8",
        "squizlabs/php_codesniffer": "^2.3",
        "filp/whoops": "^1.1 || ^2.0"
    },

@Lansoweb
Copy link
Owner

@samsonasik The default installer uses service manager 2.5:

"zendframework/zend-servicemanager": "^2.5",

But specifying zend-servicemanager v3, conflicts with zend-log which requires service manager ~2.5:

Problem 1
    - Installation request for zendframework/zend-log ~2.6 -> satisfiable by zendframework/zend-log[2.6.0].
    - Conclusion: remove zendframework/zend-servicemanager 3.0.2
    - Conclusion: don't install zendframework/zend-servicemanager 3.0.2
    - zendframework/zend-log 2.6.0 requires zendframework/zend-servicemanager ~2.5 -> satisfiable by zendframework/zend-servicemanager[2.7.3, 2.7.4].
    - Can only install one of: zendframework/zend-servicemanager[2.7.3, 3.0.2].
    - Can only install one of: zendframework/zend-servicemanager[2.7.4, 3.0.2].
    - Installation request for zendframework/zend-servicemanager == 3.0.2.0 -> satisfiable by zendframework/zend-servicemanager[3.0.2].

Maybe i need to create a new version for loslog (2.1) that supports servicemanager v3 and it's dependencies.

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