update specific package composer 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 require {package/packagename}