@ashraam if you've manually adjusted composer.json, then its probably quicker to delete vendor directory and composer.lock and then run a composer install.
Oct 2, 2020
25
Level 41
Composer takes ages to update
Hi everyone,
I'm trying to upgrade an app on laravel 6.x to 7.x (I've done this numerous time and it worked) but this project takes ages to update (I've let composer run for 20mn and still nothing)
Here is the packages I use
"require": {
"php": "^7.2.5",
"algolia/scout-extended": "^1.8",
"caouecs/laravel-lang": "^4.0",
"facade/ignition": "^2.0",
"fideloper/proxy": "^4.0",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^6.5",
"intervention/image": "^2.5",
"jenssegers/date": "^3.5",
"josiasmontag/laravel-recaptchav3": "^0.4.0",
"laravel/framework": "^7.0",
"laravel/scout": "^8.0",
"laravel/slack-notification-channel": "^2.0",
"laravel/socialite": "^4.3",
"laravel/tinker": "^2.0",
"lawnstarter/laravel-darksky": "^2.1",
"league/flysystem-aws-s3-v3": "^1.0",
"league/flysystem-cached-adapter": "^1.0",
"predis/predis": "^1.1"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.2",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.5"
},
I've use the regular command composer update -vvv and composer stuck at this output:
Something's changed, looking at all rules again (pass #54)
How could I fix this ?
Thank you
Level 27
@ashraam why not try this:
- Remove all the
requireandrequire-deventries incomposer.json - Delete your entire
vendor - Manually do a
composer require <package>, 1 by 1 starting with the most important one first, e.g.laravel/framework
If there is an issue on GitHub, I doubt you are going to find a good solution. The above steps are to help move you forward.
Please or to participate in this conversation.