How to find out which Symfony version you have and update


  • Administrator
  • Hero Member
  • *****
    • Posts: 812078
    • Gender:Male
  • point d’amour
How to find out which Symphony version you have

1. Use
Code: [Select]
php bin/console --version
2. Use
Code: [Select]
php bin/console about
3. Go to
Code: [Select]
And search for

Code: [Select]
Upgrade symfony

Upgrade a Major Version (e.g. 4.4.0 to 5.0.0)

Upgrade a Minor Version (e.g. 4.0.0 to 4.1.0)
Code: [Select]
composer update "symfony/*"

Upgrade a Patch Version (e.g. 5.0.0 to 5.0.1)
Code: [Select]
composer updateBeware, if you have some unspecific version constraints in your composer.json (e.g. dev-master), this could upgrade some non-Symfony libraries to new versions that contain backwards-compatibility breaking changes.

« Last Edit: 05 Jun, 2020, 18:59:10 by spiros »


Search Tools