Suddenly my Composer has stopped working.
Whenever I run composer update
, it doesn't progress after this:
Loading composer repositories with package information
Updating dependencies (including require-dev)
I tried another Laravel project, that project's Composer was working
I cleared the cache, and also ran this command rm -rf ~/.composer/cache
Nothing seems to happen. I moved composer.lock
to a different folder, deleted from the current project and ran the commands again, but no luck
Here is my 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.1.*",
"nesbot/carbon": "~1.14",
"venturecraft/revisionable": "~1.8",
"doctrine/dbal": "v2.4.2",
"zizaco/entrust": "dev-laravel-5",
"aws/aws-sdk-php-laravel": "~3.0",
"guzzlehttp/guzzle": "~5.2",
"league/flysystem-aws-s3-v2": "~1.0",
"sofa/revisionable": "~1.0@dev",
"maatwebsite/excel": "~2.0.0",
"monolog/monolog": "^1.15",
"jenssegers/agent": "^2.2",
"php-mime-mail-parser/php-mime-mail-parser": "^2.1",
"messaged/php-mime-mail-parser": "^1.0",
"willdurand/email-reply-parser": "^2.4",
"barryvdh/laravel-debugbar": "~2.0.2"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"phpspec/phpspec": "~2.1"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/",
"Validations\\": "app/Validations"
},
"files": [
"app/Support/helpers.php"
]
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
}
}
Updating dependencies (including require-dev)
did you give it a minute or three? What happens if you runcomposer install
instead of update? – Pᴇʜ