Skip to main content

How to update a single library with Composer?

 

To install `package/module-name` with version `1.1.*` and minimum stability `@dev` use this:

php composer.phar require package/module-name:1.1.*@dev

then to update only this single package:

php composer.phar update package/module-name

you can use "--ignore-platform-reqs" to ignore installing the dependencies