Composer Install Single Package Without Update Code Example


Example 1: composer remove packages


composer remove vendor/package

Example 2: composer update single package


composer require phpmailer/phpmailer

Example 3: composer update single package


composer.phar update doctrine/doctrine-fixtures-bundle

Example 4: install a package only composer dont update


composer update new/package

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable