php artisan update composer code example
Example 1: laravel composer update
php composer.phar update
Example 2: how to update composer in laravel
composer global require "laravel/installer:^4.0"
php composer.phar update
composer global require "laravel/installer:^4.0"