, когда я пытался обновить мой laravel проект с версии 5.8 до 6.0, мы получили ошибку с simfony
Mi composer. json:
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"minimum-stability": "dev",
"require": {
"php": "^7.2",
"laravel/framework": "^6.2",
"barryvdh/laravel-dompdf": "^0.8.1",
"fideloper/proxy": "^4.1",
"laracasts/flash": "^3.0",
"laravel/socialite": "^4.3",
"laravel/tinker": "^1.0",
"laravelcollective/html": "~6.0.0",
"maatwebsite/excel": "^3.1",
"picqer/php-barcode-generator": "^0.3.0",
"pulkitjalan/geoip": "^4.0@dev",
"tordek/afiphp": "^0.2.0"
},
"require-dev": {
"facade/ignition": "^1.4",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"nunomaduro/collision": "^2.1",
"phpunit/phpunit": "~7.0"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
}
}
И когда я запускаю composer update Я получил эту ошибку:
[Composer\DependencyResolver\SolverProblemsException]
Problem 1
- Installation request for laravel/framework ^6.2 -> satisfiable by lar
avel/framework[6.x-dev].
- laravel/framework 6.x-dev requires symfony/console ^4.3.4 -> no match
ing package found.
Как я могу это исправить? Возможно ли сделать это в моем проекте?
Мой файл Composer. json правильный? Возможно ли обновление?