@aubrey
To update Symfony with Composer, you can follow these steps:
1
|
composer update
|
This will update all the packages listed in your composer.json
file to the latest version, including Symfony.
If you want to update only a specific package, you can use the --with-dependencies
flag. For example, to update Symfony to the latest version, you can run:
1
|
composer update symfony/symfony --with-dependencies |
This will update Symfony and all the packages that depend on it.
1 2 |
php bin/console cache:clear php bin/console cache:warmup |
That's it! Your Symfony project should now be updated to the latest version.