Setting up Laravel 5.1 with Behat - composer-php

Following the Laracast tutorial I ran the following command to set up my project for behat:
composer require behat/behat behat/mink behat/mink-extension laracasts/behat-laravel-extension --dev
This is the output I received:
Using version ^3.0 for behat/behat
Using version ^1.7 for behat/mink
Using version ^2.1 for behat/mink-extension
Using version ^1.0 for laracasts/behat-laravel-extension
./composer.json has been updated
> php artisan clear-compiled
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
- Conclusion: don't install behat/behat v3.0.15
- Conclusion: don't install behat/behat v3.0.14
- Conclusion: don't install behat/behat v3.0.13
- Conclusion: don't install behat/behat v3.0.12
- Conclusion: don't install behat/behat v3.0.11
- Conclusion: don't install behat/behat v3.0.10
- Conclusion: don't install behat/behat v3.0.9
- Conclusion: don't install behat/behat v3.0.8
- Conclusion: don't install behat/behat v3.0.7
- behat/mink-extension v2.1.0 requires behat/behat ~3.0,>=3.0.5 -> satisfiable by behat/behat[v3.0.10, v3.0.11, v3.0.12, v3.0.13, v3.0.14, v3.0.15, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9].
- Conclusion: don't install behat/behat v3.0.6
- Installation request for behat/mink-extension ^2.1 -> satisfiable by behat/mink-extension[v2.1.0].
- Conclusion: remove symfony/yaml v3.0.1
- Conclusion: don't install symfony/yaml v3.0.1
- behat/behat v3.0.5 requires symfony/yaml ~2.1 -> satisfiable by symfony/yaml[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2].
- Can only install one of: symfony/yaml[v2.1.0, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.1, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.10, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.11, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.12, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.13, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.2, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.3, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.4, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.5, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.6, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.7, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.8, v3.0.1].
- Can only install one of: symfony/yaml[v2.1.9, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.0, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.1, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.10, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.11, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.2, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.3, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.4, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.5, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.6, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.7, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.8, v3.0.1].
- Can only install one of: symfony/yaml[v2.2.9, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.0, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.1, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.10, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.11, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.12, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.13, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.14, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.15, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.16, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.17, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.18, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.19, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.2, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.20, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.21, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.22, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.23, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.24, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.25, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.26, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.27, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.28, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.29, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.3, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.30, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.31, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.32, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.33, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.34, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.35, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.36, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.37, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.4, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.5, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.6, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.7, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.8, v3.0.1].
- Can only install one of: symfony/yaml[v2.3.9, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.0, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.1, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.10, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.2, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.3, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.4, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.5, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.6, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.7, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.8, v3.0.1].
- Can only install one of: symfony/yaml[v2.4.9, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.0, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.1, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.10, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.11, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.12, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.2, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.3, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.4, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.5, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.6, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.7, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.8, v3.0.1].
- Can only install one of: symfony/yaml[v2.5.9, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.0, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.1, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.10, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.11, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.12, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.13, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.2, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.3, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.4, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.5, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.6, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.7, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.8, v3.0.1].
- Can only install one of: symfony/yaml[v2.6.9, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.0, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.1, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.2, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.3, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.4, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.5, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.6, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.7, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.8, v3.0.1].
- Can only install one of: symfony/yaml[v2.7.9, v3.0.1].
- Can only install one of: symfony/yaml[v2.8.0, v3.0.1].
- Can only install one of: symfony/yaml[v2.8.1, v3.0.1].
- Can only install one of: symfony/yaml[v2.8.2, v3.0.1].
- Installation request for symfony/yaml == 3.0.1.0 -> satisfiable by symfony/yaml[v3.0.1].
Installation failed, reverting ./composer.json to its original content.

Without Laravel
Ok, i removed the --dev from your Composer command and it worked
composer require behat/behat behat/mink behat/mink-extension laracasts/behat-laravel-extension --prefer-dist -vvv --profile
The resulting composer.json:
{
"require": {
"behat/behat": "^3.0",
"behat/mink": "^1.7",
"behat/mink-extension": "^2.1",
"laracasts/behat-laravel-extension": "^1.0"
}
}
With Laravel (project install)
If you need Laravel: just add laravel/laravel to the command
or add "laravel/laravel" : "^5.2" (or 5.1) as a requirement.
The resulting composer.json:
{
"require": {
"behat/behat": "^3.0",
"behat/mink": "^1.7",
"behat/mink-extension": "^2.1",
"laracasts/behat-laravel-extension": "^1.0",
"laravel/laravel": "^5.2"
}
}

Related

Updating from Magento 2.2.5 to 2.3.1 fails with errors

When trying to update Magento 2.2.5 to 2.3.1 either in the System upgrade panel, or from the command line we get composer errors. We suspect it's a composer.json issue, but it's for a site that is inherited so we're a little unsure of how to manage the issue
The errors from the system update panel are below
Check Component Dependency
We found conflicting component dependencies. Hide detail
Command "update" failed: 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
- magento/product-community-edition 2.3.1 requires magento/magento2-base 2.3.1 -> satisfiable by magento/magento2-base[2.3.1].
- Conclusion: don't install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.9|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.10|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.11|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v4.1.12|install symfony/console v2.8.38
- Conclusion: don't install symfony/console v3.4.27|install symfony/console v4.1.10|install symfony/console v4.1.11|install symfony/console v4.1.12|install symfony/console v4.1.9
- Conclusion: don't install symfony/console v4.1.6|install symfony/console v2.8.38|install symfony/console v3.4.27
- Conclusion: don't install symfony/console v4.1.5|install symfony/console v2.8.38|install symfony/console v3.4.27
- Conclusion: don't install symfony/console v4.1.7|install symfony/console v2.8.38|install symfony/console v3.4.27
- Installation request for magento/product-community-edition 2.3.1 -> satisfiable by magento/product-community-edition[2.3.1].
- Conclusion: don't install symfony/console v4.1.8|install symfony/console v2.8.38|install symfony/console v3.4.27
- Conclusion: don't install symfony/console v3.4.26|install symfony/console v4.1.10|install symfony/console v4.1.11|install symfony/console v4.1.12|install symfony/console v4.1.5|install symfony/console v4.1.6|install symfony/console v4.1.7|install symfony/console v4.1.8|install symfony/console v4.1.9
- Conclusion: don't install symfony/console v4.1.2|install symfony/console v2.8.38|install symfony/console v3.4.26|install symfony/console v3.4.27
- Conclusion: don't install symfony/console v4.1.1|install symfony/console v2.8.38|install symfony/console v3.4.26|install symfony/console v3.4.27
- Installation request for sebastian/phpcpd 2.0.4 -> satisfiable by sebastian/phpcpd[2.0.4].
- Conclusion: don't install symfony/console v4.1.3|install symfony/console v2.8.38|install symfony/console v3.4.26|install symfony/console v3.4.27
- sebastian/phpcpd 2.0.4 requires symfony/console ~2.7|^3.0 -> satisfiable by symfony/console[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.35, v2.7.36, v2.7.37, v2.7.38, v2.7.39, v2.7.4, v2.7.40, v2.7.41, v2.7.42, v2.7.43, v2.7.44, v2.7.45, v2.7.46, v2.7.47, v2.7.48, v2.7.49, v2.7.5, v2.7.50, v2.7.51, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.29, v2.8.3, v2.8.30, v2.8.31, v2.8.32, v2.8.33, v2.8.34, v2.8.35, v2.8.36, v2.8.37, v2.8.38, v2.8.39, v2.8.4, v2.8.40, v2.8.41, v2.8.42, v2.8.43, v2.8.44, v2.8.45, v2.8.46, v2.8.47, v2.8.48, v2.8.49, v2.8.5, v2.8.50, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.14, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.16, v3.3.17, v3.3.18, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.10, v3.4.11, v3.4.12, v3.4.13, v3.4.14, v3.4.15, v3.4.16, v3.4.17, v3.4.18, v3.4.19, v3.4.2, v3.4.20, v3.4.21, v3.4.22, v3.4.23, v3.4.24, v3.4.25, v3.4.26, v3.4.27, v3.4.3, v3.4.4, v3.4.5, v3.4.6, v3.4.7, v3.4.8, v3.4.9].
- Can only install one of: symfony/console[v4.1.0, v2.7.0].
- Can only install one of: symfony/console[v4.1.0, v2.7.1].
- Can only install one of: symfony/console[v4.1.0, v2.7.10].
- Can only install one of: symfony/console[v4.1.0, v2.7.11].
- Can only install one of: symfony/console[v4.1.0, v2.7.12].
- Can only install one of: symfony/console[v4.1.0, v2.7.13].
- Can only install one of: symfony/console[v4.1.0, v2.7.14].
- Can only install one of: symfony/console[v4.1.0, v2.7.15].
- Can only install one of: symfony/console[v4.1.0, v2.7.16].
- Can only install one of: symfony/console[v4.1.0, v2.7.17].
- Can only install one of: symfony/console[v4.1.0, v2.7.18].
- Can only install one of: symfony/console[v4.1.0, v2.7.19].
- Can only install one of: symfony/console[v4.1.0, v2.7.2].
- Can only install one of: symfony/console[v4.1.0, v2.7.20].
- Can only install one of: symfony/console[v4.1.0, v2.7.21].
- Can only install one of: symfony/console[v4.1.0, v2.7.22].
- Can only install one of: symfony/console[v4.1.0, v2.7.23].
- Can only install one of: symfony/console[v4.1.0, v2.7.24].
- Can only install one of: symfony/console[v4.1.0, v2.7.25].
- Can only install one of: symfony/console[v4.1.0, v2.7.26].
- Can only install one of: symfony/console[v4.1.0, v2.7.27].
- Can only install one of: symfony/console[v4.1.0, v2.7.28].
- Can only install one of: symfony/console[v4.1.0, v2.7.29].
- Can only install one of: symfony/console[v4.1.0, v2.7.3].
- Can only install one of: symfony/console[v4.1.0, v2.7.30].
- Can only install one of: symfony/console[v4.1.0, v2.7.31].
- Can only install one of: symfony/console[v4.1.0, v2.7.32].
- Can only install one of: symfony/console[v4.1.0, v2.7.33].
- Can only install one of: symfony/console[v4.1.0, v2.7.34].
- Can only install one of: symfony/console[v4.1.0, v2.7.35].
- Can only install one of: symfony/console[v4.1.0, v2.7.36].
- Can only install one of: symfony/console[v4.1.0, v2.7.37].
- Can only install one of: symfony/console[v4.1.0, v2.7.38].
- Can only install one of: symfony/console[v4.1.0, v2.7.39].
- Can only install one of: symfony/console[v4.1.0, v2.7.4].
- Can only install one of: symfony/console[v4.1.0, v2.7.40].
- Can only install one of: symfony/console[v4.1.0, v2.7.41].
- Can only install one of: symfony/console[v4.1.0, v2.7.42].
- Can only install one of: symfony/console[v4.1.0, v2.7.43].
- Can only install one of: symfony/console[v4.1.0, v2.7.44].
- Can only install one of: symfony/console[v4.1.0, v2.7.45].
- Can only install one of: symfony/console[v4.1.0, v2.7.46].
- Can only install one of: symfony/console[v4.1.0, v2.7.47].
- Can only install one of: symfony/console[v4.1.0, v2.7.48].
- Can only install one of: symfony/console[v4.1.0, v2.7.49].
- Can only install one of: symfony/console[v4.1.0, v2.7.5].
- Can only install one of: symfony/console[v4.1.0, v2.7.50].
- Can only install one of: symfony/console[v4.1.0, v2.7.51].
- Can only install one of: symfony/console[v4.1.0, v2.7.6].
- Can only install one of: symfony/console[v4.1.0, v2.7.7].
- Can only install one of: symfony/console[v4.1.0, v2.7.8].
- Can only install one of: symfony/console[v4.1.0, v2.7.9].
- Can only install one of: symfony/console[v4.1.0, v2.8.0].
- Can only install one of: symfony/console[v4.1.0, v2.8.1].
- Can only install one of: symfony/console[v4.1.0, v2.8.10].
- Can only install one of: symfony/console[v4.1.0, v2.8.11].
- Can only install one of: symfony/console[v4.1.0, v2.8.12].
- Can only install one of: symfony/console[v4.1.0, v2.8.13].
- Can only install one of: symfony/console[v4.1.0, v2.8.14].
- Can only install one of: symfony/console[v4.1.0, v2.8.15].
- Can only install one of: symfony/console[v4.1.0, v2.8.16].
- Can only install one of: symfony/console[v4.1.0, v2.8.17].
- Can only install one of: symfony/console[v4.1.0, v2.8.18].
- Can only install one of: symfony/console[v4.1.0, v2.8.19].
- Can only install one of: symfony/console[v4.1.0, v2.8.2].
- Can only install one of: symfony/console[v4.1.0, v2.8.20].
- Can only install one of: symfony/console[v4.1.0, v2.8.21].
- Can only install one of: symfony/console[v4.1.0, v2.8.22].
- Can only install one of: symfony/console[v4.1.0, v2.8.23].
- Can only install one of: symfony/console[v4.1.0, v2.8.24].
- Can only install one of: symfony/console[v4.1.0, v2.8.25].
- Can only install one of: symfony/console[v4.1.0, v2.8.26].
- Can only install one of: symfony/console[v4.1.0, v2.8.27].
- Can only install one of: symfony/console[v4.1.0, v2.8.28].
- Can only install one of: symfony/console[v4.1.0, v2.8.29].
- Can only install one of: symfony/console[v4.1.0, v2.8.3].
- Can only install one of: symfony/console[v4.1.0, v2.8.30].
- Can only install one of: symfony/console[v4.1.0, v2.8.31].
- Can only install one of: symfony/console[v4.1.0, v2.8.32].
- Can only install one of: symfony/console[v4.1.0, v2.8.33].
- Can only install one of: symfony/console[v4.1.0, v2.8.34].
- Can only install one of: symfony/console[v4.1.0, v2.8.35].
- Can only install one of: symfony/console[v4.1.0, v2.8.36].
- Can only install one of: symfony/console[v4.1.0, v2.8.37].
- Can only install one of: symfony/console[v4.1.0, v2.8.39].
- Can only install one of: symfony/console[v4.1.0, v2.8.4].
- Can only install one of: symfony/console[v4.1.0, v2.8.40].
- Can only install one of: symfony/console[v4.1.0, v2.8.41].
- Can only install one of: symfony/console[v4.1.0, v2.8.42].
- Can only install one of: symfony/console[v4.1.0, v2.8.43].
- Can only install one of: symfony/console[v4.1.0, v2.8.44].
- Can only install one of: symfony/console[v4.1.0, v2.8.45].
- Can only install one of: symfony/console[v4.1.0, v2.8.46].
- Can only install one of: symfony/console[v4.1.0, v2.8.47].
- Can only install one of: symfony/console[v4.1.0, v2.8.48].
- Can only install one of: symfony/console[v4.1.0, v2.8.49].
- Can only install one of: symfony/console[v4.1.0, v2.8.5].
- Can only install one of: symfony/console[v4.1.0, v2.8.50].
- Can only install one of: symfony/console[v4.1.0, v2.8.6].
- Can only install one of: symfony/console[v4.1.0, v2.8.7].
- Can only install one of: symfony/console[v4.1.0, v2.8.8].
- Can only install one of: symfony/console[v4.1.0, v2.8.9].
- Can only install one of: symfony/console[v4.1.0, v3.0.0].
- Can only install one of: symfony/console[v4.1.0, v3.0.1].
- Can only install one of: symfony/console[v4.1.0, v3.0.2].
- Can only install one of: symfony/console[v4.1.0, v3.0.3].
- Can only install one of: symfony/console[v4.1.0, v3.0.4].
- Can only install one of: symfony/console[v4.1.0, v3.0.5].
- Can only install one of: symfony/console[v4.1.0, v3.0.6].
- Can only install one of: symfony/console[v4.1.0, v3.0.7].
- Can only install one of: symfony/console[v4.1.0, v3.0.8].
- Can only install one of: symfony/console[v4.1.0, v3.0.9].
- Can only install one of: symfony/console[v4.1.0, v3.1.0].
- Can only install one of: symfony/console[v4.1.0, v3.1.1].
- Can only install one of: symfony/console[v4.1.0, v3.1.10].
- Can only install one of: symfony/console[v4.1.0, v3.1.2].
- Can only install one of: symfony/console[v4.1.0, v3.1.3].
- Can only install one of: symfony/console[v4.1.0, v3.1.4].
- Can only install one of: symfony/console[v4.1.0, v3.1.5].
- Can only install one of: symfony/console[v4.1.0, v3.1.6].
- Can only install one of: symfony/console[v4.1.0, v3.1.7].
- Can only install one of: symfony/console[v4.1.0, v3.1.8].
- Can only install one of: symfony/console[v4.1.0, v3.1.9].
- Can only install one of: symfony/console[v4.1.0, v3.2.0].
- Can only install one of: symfony/console[v4.1.0, v3.2.1].
- Can only install one of: symfony/console[v4.1.0, v3.2.10].
- Can only install one of: symfony/console[v4.1.0, v3.2.11].
- Can only install one of: symfony/console[v4.1.0, v3.2.12].
- Can only install one of: symfony/console[v4.1.0, v3.2.13].
- Can only install one of: symfony/console[v4.1.0, v3.2.14].
- Can only install one of: symfony/console[v4.1.0, v3.2.2].
- Can only install one of: symfony/console[v4.1.0, v3.2.3].
- Can only install one of: symfony/console[v4.1.0, v3.2.4].
- Can only install one of: symfony/console[v4.1.0, v3.2.5].
- Can only install one of: symfony/console[v4.1.0, v3.2.6].
- Can only install one of: symfony/console[v4.1.0, v3.2.7].
- Can only install one of: symfony/console[v4.1.0, v3.2.8].
- Can only install one of: symfony/console[v4.1.0, v3.2.9].
- Can only install one of: symfony/console[v4.1.0, v3.3.0].
- Can only install one of: symfony/console[v4.1.0, v3.3.1].
- Can only install one of: symfony/console[v4.1.0, v3.3.10].
- Can only install one of: symfony/console[v4.1.0, v3.3.11].
- Can only install one of: symfony/console[v4.1.0, v3.3.12].
- Can only install one of: symfony/console[v4.1.0, v3.3.13].
- Can only install one of: symfony/console[v4.1.0, v3.3.14].
- Can only install one of: symfony/console[v4.1.0, v3.3.15].
- Can only install one of: symfony/console[v4.1.0, v3.3.16].
- Can only install one of: symfony/console[v4.1.0, v3.3.17].
- Can only install one of: symfony/console[v4.1.0, v3.3.18].
- Can only install one of: symfony/console[v4.1.0, v3.3.2].
- Can only install one of: symfony/console[v4.1.0, v3.3.3].
- Can only install one of: symfony/console[v4.1.0, v3.3.4].
- Can only install one of: symfony/console[v4.1.0, v3.3.5].
- Can only install one of: symfony/console[v4.1.0, v3.3.6].
- Can only install one of: symfony/console[v4.1.0, v3.3.7].
- Can only install one of: symfony/console[v4.1.0, v3.3.8].
- Can only install one of: symfony/console[v4.1.0, v3.3.9].
- Can only install one of: symfony/console[v4.1.0, v3.4.0].
- Can only install one of: symfony/console[v4.1.0, v3.4.1].
- Can only install one of: symfony/console[v4.1.0, v3.4.10].
- Can only install one of: symfony/console[v4.1.0, v3.4.11].
- Can only install one of: symfony/console[v4.1.0, v3.4.12].
- Can only install one of: symfony/console[v4.1.0, v3.4.13].
- Can only install one of: symfony/console[v4.1.0, v3.4.14].
- Can only install one of: symfony/console[v4.1.0, v3.4.15].
- Can only install one of: symfony/console[v4.1.0, v3.4.16].
- Can only install one of: symfony/console[v4.1.0, v3.4.17].
- Can only install one of: symfony/console[v4.1.0, v3.4.18].
- Can only install one of: symfony/console[v4.1.0, v3.4.19].
- Can only install one of: symfony/console[v4.1.0, v3.4.2].
- Can only install one of: symfony/console[v4.1.0, v3.4.20].
- Can only install one of: symfony/console[v4.1.0, v3.4.21].
- Can only install one of: symfony/console[v4.1.0, v3.4.22].
- Can only install one of: symfony/console[v4.1.0, v3.4.23].
- Can only install one of: symfony/console[v4.1.0, v3.4.24].
- Can only install one of: symfony/console[v4.1.0, v3.4.25].
- Can only install one of: symfony/console[v4.1.0, v3.4.3].
- Can only install one of: symfony/console[v4.1.0, v3.4.4].
- Can only install one of: symfony/console[v4.1.0, v3.4.5].
- Can only install one of: symfony/console[v4.1.0, v3.4.6].
- Can only install one of: symfony/console[v4.1.0, v3.4.7].
- Can only install one of: symfony/console[v4.1.0, v3.4.8].
- Can only install one of: symfony/console[v4.1.0, v3.4.9].
- magento/magento2-base 2.3.1 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
- Conclusion: don't install symfony/console v4.1.4|install symfony/console v2.8.38|install symfony/console v3.4.26|install symfony/console v3.4.27
composer.json is below
{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.2.5",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"magento/product-community-edition": "2.2.5",
"composer/composer": "#alpha",
"ebizmarts/sagepaysuite": "1.2.6",
"mageplaza/module-smtp": "^1.1",
"cweagans/composer-patches": "^1.6"
},
"require-dev": {
"phpunit/phpunit": "~6.2.0",
"squizlabs/php_codesniffer": "3.0.1",
"phpmd/phpmd": "#stable",
"pdepend/pdepend": "2.5.0",
"friendsofphp/php-cs-fixer": "~2.1.1",
"lusitanian/oauth": "~0.8.10",
"sebastian/phpcpd": "2.0.4"
},
"autoload": {
"psr-4": {
"Magento\\Framework\\": "lib/internal/Magento/Framework/",
"Magento\\Setup\\": "setup/src/Magento/Setup/",
"Magento\\": "app/code/Magento/"
},
"psr-0": {
"": [
"app/code/"
]
},
"files": [
"app/etc/NonComposerComponentRegistration.php"
],
"exclude-from-classmap": [
"**/dev/**",
"**/update/**",
"**/Test/**"
]
},
"autoload-dev": {
"psr-4": {
"Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
"Magento\\Tools\\": "dev/tools/Magento/Tools/",
"Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
"Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
"Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
}
},
"minimum-stability": "stable",
"repositories": {
"ebizmarts": {
"type": "composer",
"url": "https://packages.ebizmarts.com"
}
,
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
}
},
"extra": {
"magento-force": "override",
"composer-exit-on-patch-failure": true,
"patches": {
"magento/module-email" : {
"MAGETWO-93036 This patch provides a fix for problems that merchants experience when trying to change a storefront's applied theme in Magento 2.2.4 and 2.2.5" : "patches/composer/CE-MAGETWO-93036-2018-07-02-07-06-53.patch"
}
}
}
}
Any help would be appreciated, the sagepay plugin needs updating to fix a payment error bug that we're getting and we're very much out of our depth (as the original dev left).
It's an good idea to first only require magento 2.3.1 and test if its then working. After that composer require all other modules 1 by 1 and test them again. At the end you will know which module is responsible. This will help you out a lot!!! It's an good idea to also look online at the third party modules if they have been updated in the last months. If not remove them from composer and search for alternatives. It's a big pill to swallow a upgrade!!

Installation lighthouse in laravel 5.7

Describe the bug
the lighthouse does not install on laravel 5.7
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
- Conclusion: don't install nuwave/lighthouse v2.6.4
- Conclusion: don't install nuwave/lighthouse v2.6.3
- Conclusion: don't install nuwave/lighthouse v2.6.2
- Conclusion: don't install nuwave/lighthouse v2.6.1
- Conclusion: don't install nuwave/lighthouse v2.6.0
- Conclusion: remove webonyx/graphql-php v0.13.1
- Installation request for nuwave/lighthouse ^2.6
-> satisfiable by nuwave/lighthouse[2.x-dev, v2.6.0, v2.6.1, v2.6.2, v2.6.3, v2.6.4].
- Conclusion: don't install webonyx/graphql-php v0.13.1
- nuwave/lighthouse 2.x-dev requires webonyx/graphql-php ^0.12
-> satisfiable by webonyx/graphql-php[0.12.x-dev, v0.12.0, v0.12.1, v0.12.2, v0.12.3, v0.12.4, v0.12.5, v0.12.6].
- Can only install one of: webonyx/graphql-php[0.12.x-dev, v0.13.1].
- Can only install one of: webonyx/graphql-php[v0.12.0, v0.13.1].
- Can only install one of: webonyx/graphql-php[v0.12.1, v0.13.1].
- Can only install one of: webonyx/graphql-php[v0.12.2, v0.13.1].
- Can only install one of: webonyx/graphql-php[v0.12.3, v0.13.1].
- Can only install one of: webonyx/graphql-php[v0.12.4, v0.13.1].
- Can only install one of: webonyx/graphql-php[v0.12.5, v0.13.1].
- Can only install one of: webonyx/graphql-php[v0.12.6, v0.13.1].
- Installation request for webonyx/graphql-php (locked at v0.13.1)
-> satisfiable by webonyx/graphql-php[v0.13.1].
If you have an existing Laravel 5.7 project, all you really need is two steps:
Install via composer require nuwave/lighthouse
Define your schema in graphql/schema.graphql
According to nuwave/lighthouse package you need to php: >= 7.1
Apart from this, you also need to complete the package's requirement in your project

Problems in installing Laravel Envoy with composer

When i try to install laravel envoy and run this command:
composer global require "laravel/envoy=~1.0"
I received this answer in terminal:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install laravel/envoy v1.1.0
- Conclusion: don't install laravel/envoy v1.0.27
- Conclusion: don't install laravel/envoy v1.0.26
- Conclusion: don't install laravel/envoy v1.0.25
- Conclusion: don't install laravel/envoy v1.0.24
- Conclusion: don't install laravel/envoy v1.0.23
- Conclusion: don't install laravel/envoy v1.0.22
- Conclusion: don't install laravel/envoy v1.0.21
- Conclusion: don't install laravel/envoy v1.0.20
- Conclusion: don't install laravel/envoy v1.0.19
- Conclusion: don't install laravel/envoy v1.0.18
- Conclusion: don't install laravel/envoy v1.0.17
- Conclusion: don't install laravel/envoy v1.0.16
- Conclusion: don't install laravel/envoy v1.0.15
- Conclusion: don't install laravel/envoy v1.0.14
- Conclusion: don't install laravel/envoy v1.0.13
- Conclusion: don't install laravel/envoy v1.0.12
- Conclusion: don't install laravel/envoy v1.0.11
- Conclusion: don't install laravel/envoy 1.0.5
- Conclusion: don't install laravel/envoy 1.0.3
- Conclusion: don't install laravel/envoy 1.0.2
- Conclusion: remove symfony/process v3.0.4
- Installation request for laravel/envoy ~1.0 -> satisfiable by laravel/envoy[1.0.0, 1.0.2, 1.0.3, 1.0.5, v1.0.11, v1.0.12, v1.0.13, v1.0.14, v1.0.15, v1.0.16, v1.0.17, v1.0.18, v1.0.19, v1.0.20, v1.0.21, v1.0.22, v1.0.23, v1.0.24, v1.0.25, v1.0.26, v1.0.27, v1.1.0].
- Conclusion: don't install symfony/process v3.0.4
- laravel/envoy 1.0.0 requires symfony/process 2.4.* -> satisfiable by symfony/process[v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9].
- Can only install one of: symfony/process[v2.4.0, v3.0.4].
- Can only install one of: symfony/process[v2.4.1, v3.0.4].
- Can only install one of: symfony/process[v2.4.10, v3.0.4].
- Can only install one of: symfony/process[v2.4.2, v3.0.4].
- Can only install one of: symfony/process[v2.4.3, v3.0.4].
- Can only install one of: symfony/process[v2.4.4, v3.0.4].
- Can only install one of: symfony/process[v2.4.5, v3.0.4].
- Can only install one of: symfony/process[v2.4.6, v3.0.4].
- Can only install one of: symfony/process[v2.4.7, v3.0.4].
- Can only install one of: symfony/process[v2.4.8, v3.0.4].
- Can only install one of: symfony/process[v2.4.9, v3.0.4].
- Installation request for symfony/process == 3.0.4.0 -> satisfiable by symfony/process[v3.0.4].
My composer.json file in ~/.composer:
{
"require": {
"laravel/installer": "^1.3"
}
}
I am using Laravel 5.2.
I've found the solution to this problem.
This problem exists because Laravel 5.2 need symfony/process 2.8.* | 3.0.* and Envoy need symfony/process 2.4.* and when you are using higher symfony/process version, It faces some trouble in order to realize the difference of versions.
Solution:
Open composer.json file in ~/.composer:
$ vi ~/.composer/composer.json
It should look like this:
{
"require": {
"laravel/installer": "^1.3"
}
}
Change it to:
{
"require": {
"laravel/envoy": "~1.0",
"laravel/installer": "^1.3"
}
}
Now use:
$ composer global require "laravel/envoy=~1.0"
Don't forget to make your composer alias available from your $PATH
composer global require laravel/envoy
You may need to (if not already) add your global composer directory to your $PATH
Add this line into your ~/.bash_profile or ~/.bashrc.
export PATH="$HOME/.composer/vendor/bin:$PATH"

Composer: Cannot install behat and mink in laravel 5.2 new project

I want to learn BDD using behat in a laravel project but I come accross dependencies problems with composer (this may be a very basic question but I have very little experience in composer so that I don't know what to do).
I create a new project
composer create-project laravel/laravel learning-behat
Then I want to get behat, mink and the mink-extension:
composer require behat/behat behat/mink behat/mink-extension --dev
But it fails and I get this output:
Using version ^3.0 for behat/behat
Using version ^1.7 for behat/mink
Using version ^2.1 for behat/mink-extension
./composer.json has been updated
> php artisan clear-compiled
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 behat/mink ^1.7 -> satisfiable by behat/mink[v1.7.0].
- Conclusion: remove symfony/css-selector v3.0.1
- Conclusion: don't install symfony/css-selector v3.0.1
- behat/mink v1.7.0 requires symfony/css-selector ~2.1 -> satisfiable by symfony/css-selector[v2.8.0, v2.8.1].
- Can only install one of: symfony/css-selector[v2.8.0, v3.0.1].
- Can only install one of: symfony/css-selector[v2.8.1, v3.0.1].
- Installation request for symfony/css-selector == 3.0.1.0 -> satisfiable by symfony/css-selector[v3.0.1].
Installation failed, reverting ./composer.json to its original content.
When I only try to install behat ( composer require behat/behat --dev ), I also get errors:
Using version ^3.0 for behat/behat
./composer.json has been updated
> php artisan clear-compiled
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
- Conclusion: don't install behat/behat v3.0.15
- Conclusion: don't install behat/behat v3.0.14
- Conclusion: don't install behat/behat v3.0.13
- Conclusion: don't install behat/behat v3.0.12
- Conclusion: don't install behat/behat v3.0.11
- Conclusion: don't install behat/behat v3.0.10
- Conclusion: don't install behat/behat v3.0.9
- Conclusion: don't install behat/behat v3.0.8
- Conclusion: don't install behat/behat v3.0.7
- Conclusion: don't install behat/behat v3.0.6
- Conclusion: don't install behat/behat v3.0.5
- Conclusion: don't install behat/behat v3.0.4
- Conclusion: don't install behat/behat v3.0.3
- Conclusion: don't install behat/behat v3.0.2
- Conclusion: don't install behat/behat v3.0.1
- Conclusion: remove symfony/translation v3.0.1
- Installation request for behat/behat ^3.0 -> satisfiable by behat/behat[v3.0.0, v3.0.1, v3.0.10, v3.0.11, v3.0.12, v3.0.13, v3.0.14, v3.0.15, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9].
- Conclusion: don't install symfony/translation v3.0.1
- behat/behat v3.0.0 requires symfony/translation ~2.1 -> satisfiable by symfony/translation[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.8.0, v2.8.1].
- Can only install one of: symfony/translation[v2.6.0, v3.0.1].
- Can only install one of: symfony/translation[v2.6.1, v3.0.1].
- Can only install one of: symfony/translation[v2.6.10, v3.0.1].
- Can only install one of: symfony/translation[v2.6.11, v3.0.1].
- Can only install one of: symfony/translation[v2.6.12, v3.0.1].
- Can only install one of: symfony/translation[v2.6.2, v3.0.1].
- Can only install one of: symfony/translation[v2.6.3, v3.0.1].
- Can only install one of: symfony/translation[v2.6.4, v3.0.1].
- Can only install one of: symfony/translation[v2.6.5, v3.0.1].
- Can only install one of: symfony/translation[v2.6.6, v3.0.1].
- Can only install one of: symfony/translation[v2.6.7, v3.0.1].
- Can only install one of: symfony/translation[v2.6.8, v3.0.1].
- Can only install one of: symfony/translation[v2.6.9, v3.0.1].
- Can only install one of: symfony/translation[v2.7.0, v3.0.1].
- Can only install one of: symfony/translation[v2.7.1, v3.0.1].
- Can only install one of: symfony/translation[v2.7.2, v3.0.1].
- Can only install one of: symfony/translation[v2.7.3, v3.0.1].
- Can only install one of: symfony/translation[v2.7.4, v3.0.1].
- Can only install one of: symfony/translation[v2.7.5, v3.0.1].
- Can only install one of: symfony/translation[v2.7.6, v3.0.1].
- Can only install one of: symfony/translation[v2.7.7, v3.0.1].
- Can only install one of: symfony/translation[v2.7.8, v3.0.1].
- Can only install one of: symfony/translation[v2.8.0, v3.0.1].
- Can only install one of: symfony/translation[v2.8.1, v3.0.1].
- Can only install one of: symfony/translation[v2.1.0, v3.0.1].
- Can only install one of: symfony/translation[v2.1.1, v3.0.1].
- Can only install one of: symfony/translation[v2.1.10, v3.0.1].
- Can only install one of: symfony/translation[v2.1.11, v3.0.1].
- Can only install one of: symfony/translation[v2.1.12, v3.0.1].
- Can only install one of: symfony/translation[v2.1.13, v3.0.1].
- Can only install one of: symfony/translation[v2.1.2, v3.0.1].
- Can only install one of: symfony/translation[v2.1.3, v3.0.1].
- Can only install one of: symfony/translation[v2.1.4, v3.0.1].
- Can only install one of: symfony/translation[v2.1.5, v3.0.1].
- Can only install one of: symfony/translation[v2.1.6, v3.0.1].
- Can only install one of: symfony/translation[v2.1.7, v3.0.1].
- Can only install one of: symfony/translation[v2.1.8, v3.0.1].
- Can only install one of: symfony/translation[v2.1.9, v3.0.1].
- Can only install one of: symfony/translation[v2.2.0, v3.0.1].
- Can only install one of: symfony/translation[v2.2.1, v3.0.1].
- Can only install one of: symfony/translation[v2.2.10, v3.0.1].
- Can only install one of: symfony/translation[v2.2.11, v3.0.1].
- Can only install one of: symfony/translation[v2.2.2, v3.0.1].
- Can only install one of: symfony/translation[v2.2.3, v3.0.1].
- Can only install one of: symfony/translation[v2.2.4, v3.0.1].
- Can only install one of: symfony/translation[v2.2.5, v3.0.1].
- Can only install one of: symfony/translation[v2.2.6, v3.0.1].
- Can only install one of: symfony/translation[v2.2.7, v3.0.1].
- Can only install one of: symfony/translation[v2.2.8, v3.0.1].
- Can only install one of: symfony/translation[v2.2.9, v3.0.1].
- Can only install one of: symfony/translation[v2.3.0, v3.0.1].
- Can only install one of: symfony/translation[v2.3.1, v3.0.1].
- Can only install one of: symfony/translation[v2.3.10, v3.0.1].
- Can only install one of: symfony/translation[v2.3.11, v3.0.1].
- Can only install one of: symfony/translation[v2.3.12, v3.0.1].
- Can only install one of: symfony/translation[v2.3.13, v3.0.1].
- Can only install one of: symfony/translation[v2.3.14, v3.0.1].
- Can only install one of: symfony/translation[v2.3.15, v3.0.1].
- Can only install one of: symfony/translation[v2.3.16, v3.0.1].
- Can only install one of: symfony/translation[v2.3.17, v3.0.1].
- Can only install one of: symfony/translation[v2.3.18, v3.0.1].
- Can only install one of: symfony/translation[v2.3.19, v3.0.1].
- Can only install one of: symfony/translation[v2.3.2, v3.0.1].
- Can only install one of: symfony/translation[v2.3.20, v3.0.1].
- Can only install one of: symfony/translation[v2.3.21, v3.0.1].
- Can only install one of: symfony/translation[v2.3.22, v3.0.1].
- Can only install one of: symfony/translation[v2.3.23, v3.0.1].
- Can only install one of: symfony/translation[v2.3.24, v3.0.1].
- Can only install one of: symfony/translation[v2.3.25, v3.0.1].
- Can only install one of: symfony/translation[v2.3.26, v3.0.1].
- Can only install one of: symfony/translation[v2.3.27, v3.0.1].
- Can only install one of: symfony/translation[v2.3.28, v3.0.1].
- Can only install one of: symfony/translation[v2.3.29, v3.0.1].
- Can only install one of: symfony/translation[v2.3.3, v3.0.1].
- Can only install one of: symfony/translation[v2.3.30, v3.0.1].
- Can only install one of: symfony/translation[v2.3.31, v3.0.1].
- Can only install one of: symfony/translation[v2.3.32, v3.0.1].
- Can only install one of: symfony/translation[v2.3.33, v3.0.1].
- Can only install one of: symfony/translation[v2.3.34, v3.0.1].
- Can only install one of: symfony/translation[v2.3.35, v3.0.1].
- Can only install one of: symfony/translation[v2.3.36, v3.0.1].
- Can only install one of: symfony/translation[v2.3.4, v3.0.1].
- Can only install one of: symfony/translation[v2.3.5, v3.0.1].
- Can only install one of: symfony/translation[v2.3.6, v3.0.1].
- Can only install one of: symfony/translation[v2.3.7, v3.0.1].
- Can only install one of: symfony/translation[v2.3.8, v3.0.1].
- Can only install one of: symfony/translation[v2.3.9, v3.0.1].
- Can only install one of: symfony/translation[v2.4.0, v3.0.1].
- Can only install one of: symfony/translation[v2.4.1, v3.0.1].
- Can only install one of: symfony/translation[v2.4.10, v3.0.1].
- Can only install one of: symfony/translation[v2.4.2, v3.0.1].
- Can only install one of: symfony/translation[v2.4.3, v3.0.1].
- Can only install one of: symfony/translation[v2.4.4, v3.0.1].
- Can only install one of: symfony/translation[v2.4.5, v3.0.1].
- Can only install one of: symfony/translation[v2.4.6, v3.0.1].
- Can only install one of: symfony/translation[v2.4.7, v3.0.1].
- Can only install one of: symfony/translation[v2.4.8, v3.0.1].
- Can only install one of: symfony/translation[v2.4.9, v3.0.1].
- Can only install one of: symfony/translation[v2.5.0, v3.0.1].
- Can only install one of: symfony/translation[v2.5.1, v3.0.1].
- Can only install one of: symfony/translation[v2.5.10, v3.0.1].
- Can only install one of: symfony/translation[v2.5.11, v3.0.1].
- Can only install one of: symfony/translation[v2.5.12, v3.0.1].
- Can only install one of: symfony/translation[v2.5.2, v3.0.1].
- Can only install one of: symfony/translation[v2.5.3, v3.0.1].
- Can only install one of: symfony/translation[v2.5.4, v3.0.1].
- Can only install one of: symfony/translation[v2.5.5, v3.0.1].
- Can only install one of: symfony/translation[v2.5.6, v3.0.1].
- Can only install one of: symfony/translation[v2.5.7, v3.0.1].
- Can only install one of: symfony/translation[v2.5.8, v3.0.1].
- Can only install one of: symfony/translation[v2.5.9, v3.0.1].
- Installation request for symfony/translation == 3.0.1.0 -> satisfiable by symfony/translation[v3.0.1].
Installation failed, reverting ./composer.json to its original content.
I found a working solution thanks to this answer on Stackoverflow.
Installing the dev-master version of behat, mink and mink-extension worked for me. So, instead of
composer require behat/behat behat/mink behat/mink-extension --dev
you need to do:
composer require behat/behat:dev-master behat/mink:dev-master behat/mink-extension:dev-master --dev
Also if you need to install Behat Laravel Extension laracasts/behat-laravel-extension you will get the error:
Problem 1
- Installation request for laracasts/behat-laravel-extension ^1.0 -> satisfiable by laracasts/behat-laravel-extension[1.0].
- Conclusion: remove symfony/dom-crawler v3.0.1
- Conclusion: don't install symfony/dom-crawler v3.0.1
- laracasts/behat-laravel-extension 1.0 requires behat/mink-browserkit-driver ~1.2 -> satisfiable by behat/mink-browserkit-driver[v1.2.0, v1.3.0].
- behat/mink-browserkit-driver v1.2.0 requires symfony/dom-crawler ~2.0 -> satisfiable by symfony/dom-crawler[v2.8.0, v2.8.1, v2.8.2].
- behat/mink-browserkit-driver v1.3.0 requires symfony/dom-crawler ~2.3 -> satisfiable by symfony/dom-crawler[v2.8.0, v2.8.1, v2.8.2].
- Can only install one of: symfony/dom-crawler[v2.8.0, v3.0.1].
- Can only install one of: symfony/dom-crawler[v2.8.1, v3.0.1].
- Can only install one of: symfony/dom-crawler[v2.8.2, v3.0.1].
- Installation request for symfony/dom-crawler == 3.0.1.0 -> satisfiable by symfony/dom-crawler[v3.0.1].
Here is a discussion and a problem resolving:
Add to your composer.json next lines:
"require-dev": {
"laracasts/behat-laravel-extension": "~1.1"
},
"repositories": [
{
"type": "vcs",
"url": "https://www.github.com/ikari7789/behat-laravel-extension.git"
},
{
"type": "vcs",
"url": "https://www.github.com/ikari7789/minkbrowserkitdriver.git"
}
],
Finish by executing update command: composer update.
I have managed to resolve it this way: first run this
composer require --dev symfony/css-selector:~2.7
and then
composer require behat/behat:dev-master behat/mink:dev-master behat/mink-extension:dev-master --dev
or
composer require behat/behat behat/mink behat/mink-extension --dev

composer install requirements could not be resolved but satisfiable requirements are being met

I have this set of requirements for composer:
"require": {
"laravel/framework": "4.2.*#dev",
"twbs/bootstrap": "3.3.*#dev",
"zizaco/confide": "~3.2",
"zizaco/entrust": "~1.2",
"bllim/datatables": "dev-master",
"guzzlehttp/guzzle": "4.2.*#dev",
"fabpot/goutte": "2.*#dev",
"laravelbook/ardent": "dev-master",
"anahkiasen/former": "dev-master",
"aws/aws-sdk-php": "2.7.*#dev",
"aws/aws-sdk-php-laravel": "dev-master",
"dingo/api": "0.7.*#dev",
"doctrine/dbal": "2.6.*#dev",
"mailgun/mailgun-php": "dev-master",
"iron-io/iron_mq": "dev-master",
"bugsnag/bugsnag-laravel": "1.*"
},
"require-dev": {
"way/generators": "~2.0",
"phpunit/phpunit-mock-objects": "2.3.*#dev",
"phpunit/phpunit": "4.3.*#dev",
"mockery/mockery": "0.9.*#dev",
"summerstreet/woodling": "dev-master",
"itsgoingd/clockwork": "dev-master",
"hannesvdvreken/guzzle-clockwork": "dev-master",
"fzaninotto/faker": "1.5.*#dev",
"soapbox/laravel-formatter": "dev-master",
"raveren/kint": "dev-master",
"barryvdh/laravel-ide-helper": "dev-master"
}
When I run composer install I get this error message:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laravelbook/ardent dev-master -> satisfiable by laravelbook/ardent[dev-master].
- laravelbook/ardent dev-master requires illuminate/support ~4.1 -> satisfiable by laravel/framework[v4.2.0, v4.2.1, v4.2.10, v4.2.11, v4.2.12, v4.2.13, v4.2.14, v4.2.15, v4.2.16, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9], illuminate/support[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.1, v4.2.12, v4.2.16, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
- Can only install one of: illuminate/support[v5.0.0, v4.1.0].
- Can only install one of: illuminate/support[v5.0.0, v4.1.1].
- Can only install one of: illuminate/support[v5.0.0, v4.1.10].
- Can only install one of: illuminate/support[v5.0.0, v4.1.11].
- Can only install one of: illuminate/support[v5.0.0, v4.1.12].
- Can only install one of: illuminate/support[v5.0.0, v4.1.13].
- Can only install one of: illuminate/support[v5.0.0, v4.1.14].
- Can only install one of: illuminate/support[v5.0.0, v4.1.15].
- Can only install one of: illuminate/support[v5.0.0, v4.1.16].
- Can only install one of: illuminate/support[v5.0.0, v4.1.17].
- Can only install one of: illuminate/support[v5.0.0, v4.1.18].
- Can only install one of: illuminate/support[v5.0.0, v4.1.19].
- Can only install one of: illuminate/support[v5.0.0, v4.1.2].
- Can only install one of: illuminate/support[v5.0.0, v4.1.20].
- Can only install one of: illuminate/support[v5.0.0, v4.1.21].
- Can only install one of: illuminate/support[v5.0.0, v4.1.22].
- Can only install one of: illuminate/support[v5.0.0, v4.1.23].
- Can only install one of: illuminate/support[v5.0.0, v4.1.24].
- Can only install one of: illuminate/support[v5.0.0, v4.1.25].
- Can only install one of: illuminate/support[v5.0.0, v4.1.26].
- Can only install one of: illuminate/support[v5.0.0, v4.1.27].
- Can only install one of: illuminate/support[v5.0.0, v4.1.28].
- Can only install one of: illuminate/support[v5.0.0, v4.1.29].
- Can only install one of: illuminate/support[v5.0.0, v4.1.3].
- Can only install one of: illuminate/support[v5.0.0, v4.1.30].
- Can only install one of: illuminate/support[v5.0.0, v4.1.4].
- Can only install one of: illuminate/support[v5.0.0, v4.1.5].
- Can only install one of: illuminate/support[v5.0.0, v4.1.6].
- Can only install one of: illuminate/support[v5.0.0, v4.1.7].
- Can only install one of: illuminate/support[v5.0.0, v4.1.8].
- Can only install one of: illuminate/support[v5.0.0, v4.1.9].
- Can only install one of: illuminate/support[v5.0.0, v4.2.1].
- Can only install one of: illuminate/support[v5.0.0, v4.2.12].
- Can only install one of: illuminate/support[v5.0.0, v4.2.16].
- Can only install one of: illuminate/support[v5.0.0, v4.2.2].
- Can only install one of: illuminate/support[v5.0.0, v4.2.3].
- Can only install one of: illuminate/support[v5.0.0, v4.2.4].
- Can only install one of: illuminate/support[v5.0.0, v4.2.5].
- Can only install one of: illuminate/support[v5.0.0, v4.2.6].
- Can only install one of: illuminate/support[v5.0.0, v4.2.7].
- Can only install one of: illuminate/support[v5.0.0, v4.2.8].
- Can only install one of: illuminate/support[v5.0.0, v4.2.9].
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.0
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.1
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.10
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.11
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.12
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.13
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.14
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.15
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.16
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.2
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.3
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.4
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.5
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.6
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.7
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.8
- don't install illuminate/filesystem v5.0.0|don't install laravel/framework v4.2.9
- barryvdh/laravel-ide-helper dev-master requires illuminate/support 5.0.x -> satisfiable by illuminate/support[v5.0.0].
- barryvdh/laravel-ide-helper dev-master requires illuminate/filesystem 5.0.x -> satisfiable by illuminate/filesystem[v5.0.0].
- Installation request for barryvdh/laravel-ide-helper dev-master -> satisfiable by barryvdh/laravel-ide-helper[dev-master].
I'm not sure how to resolve this. I need Ardent and I need Laravel 4.2. I've never had a problem installing Ardent with Laravel 4.2 in the past, so I can't figure out why it would be tripped up now, especially since composer says it is satisfiable with the very Laravel version I'm trying to install.
What's going on here?
As it turns out, this had nothing to do with Ardent despite the error message. The culprit causing the mayhem was barryvdh/laravel-ide-helper. When I changed that requirement from dev-master to ~1.11 it became compatible with Laravel 4.2 again and all of the other errors went away.
If anyone is having a similar problem, just go through the list and see if any packages were updated to be compatible with 5.0, but not backward compatible with 4.*.

Resources