Integrated: Installation failed
Laravel 4.2
composer require laracasts/integrated --dev
Result:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install laracasts/integrated 0.10.1
- Installation request for laracasts/integrated 0.10.* -> satisfiable by laracasts/integrated[0.10.0, 0.10.1].
- Conclusion: remove symfony/dom-crawler v2.5.10
- laracasts/integrated 0.10.0 requires symfony/dom-crawler ~2.6 -> satisfiable by symfony/dom-crawler[v2.6.0, v2.6.1, v2.6.2, v2.6.3, v2.6.4, v2.6.5].
- Can only install one of: symfony/dom-crawler[v2.6.0, v2.5.10].
- Can only install one of: symfony/dom-crawler[v2.6.1, v2.5.10].
- Can only install one of: symfony/dom-crawler[v2.6.2, v2.5.10].
- Can only install one of: symfony/dom-crawler[v2.6.3, v2.5.10].
- Can only install one of: symfony/dom-crawler[v2.6.4, v2.5.10].
- Can only install one of: symfony/dom-crawler[v2.6.5, v2.5.10].
- Installation request for symfony/dom-crawler == 2.5.10.0 -> satisfiable by symfony/dom-crawler[v2.5.10].
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 1
- Comments: 15 (2 by maintainers)
I have managed to resolve it this way: first run this
composer require --dev symfony/css-selector:~2.7and thencomposer require laracasts/integrated --devand it works.You need to install
See above I have added following two lines in composer.json
“symfony/css-selector”: “2.8.", “symfony/dom-crawler”: "2.6.”
and run : composer update then run : composer require laracasts/integrated --dev
It will fix the error.
Just gone through this very same issue with 5.4 and I have tried all the suggestions made above but the dependencies keep on cascading down through other packages.
Changing Guzzle back to
~5.3breaks the Constant Contact PHPSdk… :-(`I ended up changing my composer.json to this
I had symfony/[css|doom] as 3.0, which caused the error previously published. After that, I got an error at GuzzleHTTP 6.2 pulled by laravel/socialite so I forced the use of ~5.3 to be able to successfully install Integrated.