Composer hanging while updating dependencies

前端 未结 13 1371
青春惊慌失措
青春惊慌失措 2020-12-24 05:30

I tried updating a Laravel project I\'m working on today using composer update

But it hung on Updating dependencies (including require-dev)

13条回答
  •  太阳男子
    2020-12-24 05:53

    Check if you are running the minimum required php version

    Compare with the specified required php version in the composer.json file

    Open terminal run

    php -v

    Cross check in composer.json file see example below

    "require": { "php": "^7.1.3", }

提交回复
热议问题