Test a Symfony BETA minor version

Published on 2019-05-11 • Modified on 2021-05-08

Symfony 5.3 beta2 is out as of the 2021-05-01, you can test it by modifying your composer.json file. The following JSON snippet shows you the parts that you must change in your file. You also have to change the "^5.2" requirement to "^5.3" like below with the symfony/http-kernel dependency. Then run composer update.
Note that this upgrade should be avoided for a production project, but as the main purpose of this blog is to do tests with Symfony, I will take the risk! 😜 Don't forget to report issues you may find on Github (I migrated from Symfony 5.2, it was, therefore the easiest possible migration path). Testing beta versions is very important and is one of the easiest way to contribute to Symfony. 🙂

[2021-05-08] Update for Symfony 5.3 beta2.

    "minimum-stability": "dev",
    "require": {
        "symfony/http-kernel": "^5.3",
    "extra": {
        "symfony": {
            "require": "5.3.*",

 More on Stackoverflow   Read the doc  Random snippet