composer require update lock code example
Example 1: update particular package composer
composer update doctrine/doctrine-fixtures-bundle
Example 2: composer update single package
composer require {package/packagename}
composer update doctrine/doctrine-fixtures-bundle
composer require {package/packagename}