...
Excerpt Include |
---|
| glossary:Composer |
---|
| glossary:Composer |
---|
|
Info |
---|
title | composer.phar or composer ? |
---|
|
The following examples use a composer install global command, as alternative use php composer.phar <command> . Read the answer in the FAQ : What Composer command-line do you have to use ? |
Troubleshooting
You may experience some latency in dependency resolution : everything is going normally.
...
Code Block |
---|
theme | RDark |
---|
language | powershell |
---|
|
$> composerphp -d memory_limit=-1 composer.phar <command> --verbose (-v|vv|vvv) |
...
Code Block |
---|
theme | RDark |
---|
language | powershell |
---|
|
$> composerphp -d memory_limit=-1 composer.phar install --dry-run --prefer-dist |
...
Code Block |
---|
theme | RDark |
---|
language | powershell |
---|
|
$> composerphp -d memory_limit=-1 composer.phar install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [packagesN] |
...
Code Block |
---|
theme | RDark |
---|
language | powershell |
---|
|
php $> composer-d memory_limit=-1 composer.phar update vendor/package1 foo/mypackage |
...
Code Block |
---|
theme | RDark |
---|
language | powershell |
---|
|
php $> composer-d memory_limit=-1 composer.phar update vendor/package1 foo/* |
...