Answer the question
In order to leave comments, you need to log in
Why can Composer slow down?
We have a simple composer.json file :
{
"name": "vendor_name/package_name",
"description": "description_text",
"minimum-stability": "stable",
"license": "proprietary",
"authors": [
{
"name": "author's name",
"email": "[email protected]"
}
],
"require": {
"colshrapnel/safemysql": "1.0.0",
"codedungeon/php-cli-colors": "1.11.0",
"psr/log": "1.1.3",
"ext-mbstring": "*",
"jbroadway/urlify": "1.0.0-stable",
"box/spout": "3.1.x-dev"
}
}
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 6 installs, 0 updates, 0 removals
- Installing colshrapnel/safemysql (1.0.0): Loading from cache
- Installing codedungeon/php-cli-colors (1.11.0): Loading from cache
- Installing psr/log (1.1.3): Loading from cache
- Installing jbroadway/urlify (1.0.0-stable): Loading from cache
- Installing box/spout (dev-master ab973ca): Cloning ab973cab34 from cache
box/spout suggests installing ext-intl (To handle non UTF-8 CSV files (if "iconv" is not already installed))
Writing lock file
Generating autoload files
Package operations: 6 installs, 0 updates, 0 removals
- Installing colshrapnel/safemysql (1.0.0): Downloading (100%)
- Installing codedungeon/php-cli-colors (1.11.0): Downloading (100%)
- Installing psr/log (1.1.3): Downloading (100%)
- Installing jbroadway/urlify (1.0.0-stable): Downloading (100%)
- Installing box/spout (dev-master ab973ca): Cloning ab973cab34 from cache
box/spout suggests installing ext-intl (To handle non UTF-8 CSV files (if "iconv" is not already installed))
Writing lock file
Generating autoload files
Answer the question
In order to leave comments, you need to log in
Try to move composer globally, because when synchronized, it can write the cache to the NFS directory.
Making the composer globally solves the problem by starting to write the cache not to the NFS directory, but globally.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question