Composer 2 · Dependencies
Update all packages
Update dependencies to the newest versions allowed by composer.json, and rewrite composer.lock.
composer update
Caution: This can change many package versions at once. Run your tests and review the lock file diff.
Official Composer 2 documentation