composer upgrade package to latest code example
Example 1: update particular package composer
composer update doctrine/doctrine-fixtures-bundle
Example 2: composer update
php composer.phar update
composer update doctrine/doctrine-fixtures-bundle
php composer.phar update