Closed zek closed 8 years ago
Hey @drtzack, are you trying to install Thruway for some Framework? Please show us whole composer.json file
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.2.*",
"intervention/image": "2.*",
"fzaninotto/faker": "^1.5",
"lsolesen/pel": "^0.9.3",
"barryvdh/laravel-ide-helper": "^2.1",
"guzzlehttp/guzzle": "^6.1",
"doctrine/dbal": "~2.3",
"laravelcollective/remote": "5.2.*",
"vinelab/url-shortener": "dev-master",
"vinkla/hashids": "^2.2",
"yajra/laravel-datatables-oracle": "~6.0",
"laravelcollective/html": "5.2.*"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"symfony/css-selector": "2.8.*|3.0.*",
"symfony/dom-crawler": "2.8.*|3.0.*"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/",
"Drtzack\\Api\\": "packages/drtzack/api-php/src"
}
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
]
},
"scripts": {
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-update-cmd": [
"php artisan optimize"
]
},
"config": {
"preferred-install": "dist"
},
"repositories": [{
"type": "vcs",
"url": "http://github.com/drtzack/url-shortener"
}]
}
@drtzack: see "guzzlehttp/guzzle" version requred by laravel is higher as from Thruway. Please ask https://github.com/Vinelab/minion or laravel if there is a way to use older guzzle version for Laravel Framework.
The issue is with the versions of event-dispatcher not necessarily Guzzle or Laravel. Guzzle3 requires ~2.1 and something else you have installed requires v3.x.
Give this a try: composer require "symfony/event-dispatcher": "3.0.2 as 2.1"
It's worked. Thank you @davidwdan
Great, I'm going to close this issue then.
Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation failed, reverting ./composer.json to its original content.