composer update one package code example
Example 1: update particular package composer
composer update doctrine/doctrine-fixtures-bundle
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: composer update single package
composer require {package/packagename}