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

conflict with many packages, because use guzzle ~6.0 #57

Closed
vadimwe opened this issue Nov 24, 2015 · 3 comments
Closed

conflict with many packages, because use guzzle ~6.0 #57

vadimwe opened this issue Nov 24, 2015 · 3 comments

Comments

@vadimwe
Copy link

vadimwe commented Nov 24, 2015

conflict with many packages, because use guzzle ~6.0

@irazasyed
Copy link
Owner

Can you explain what's wrong and post your composer json?

@vadimwe
Copy link
Author

vadimwe commented Nov 25, 2015

"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.",
"barryvdh/laravel-debugbar": "^2.0@dev",
"laravelcollective/html": "~5.0",
"filp/whoops": "^1.2@dev",
"guzzlehttp/guzzle": "~5.0",
"abmti/laravel-scaffold-generate": "dev-master",
"torann/geoip": "dev-master",
"intervention/image": "^2.3@dev",
"intervention/imagecache": "dev-master",
"roumen/sitemap": "dev-master",
"laravel/socialite": "^3.0@dev"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.
",
"phpunit/phpunit": "~4.0",
"phpspec/phpspec": "~2.1"
},

cli:

composer require irazasyed/telegram-bot-sdk ^1.0
./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
- Can only install one of: guzzlehttp/guzzle[6.1.x-dev, 5.3.0].
- Can only install one of: guzzlehttp/guzzle[6.1.x-dev, 5.3.0].
- Can only install one of: guzzlehttp/guzzle[6.1.x-dev, 5.3.0].
- irazasyed/telegram-bot-sdk v1.0.0 requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.1.x-dev].
- Installation request for irazasyed/telegram-bot-sdk ^1.0 -> satisfiable by irazasyed/telegram-bot-sdk[v1.0.0].
- Installation request for guzzlehttp/guzzle == 5.3.0.0 -> satisfiable by guzzlehttp/guzzle[5.3.0].

@irazasyed
Copy link
Owner

I see you're requiring "guzzlehttp/guzzle": "~5.0" this is where the problem is. This package depends on Guzzle 6.0. You need to either remove that from your composer or update its version to match the package's version. This is something unrelated to this package though. So I'll have to close this ticket now! Hope that helps.

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