@@ -8,7 +8,7 @@ Creating a New Project Based on an Unstable Symfony Version
8
8
-----------------------------------------------------------
9
9
10
10
11
- Suppose that the Symfony 4.0 version hasn't been released yet and you want to create
11
+ Suppose that the Symfony 5.4 version hasn't been released yet and you want to create
12
12
a new project to test its features. First, `install the Composer package manager `_.
13
13
Then, open a command console, enter your project's directory and
14
14
run the following command:
@@ -24,7 +24,7 @@ in the ``my_project/`` directory.
24
24
Upgrading your Project to an Unstable Symfony Version
25
25
-----------------------------------------------------
26
26
27
- Suppose again that Symfony 4.0 hasn't been released yet and you want to upgrade
27
+ Suppose again that Symfony 5.4 hasn't been released yet and you want to upgrade
28
28
an existing application to test that your project works with it.
29
29
30
30
First, open the ``composer.json `` file located in the root directory of your
@@ -35,16 +35,16 @@ new version and change your ``minimum-stability`` to ``beta``:
35
35
36
36
{
37
37
"require": {
38
- + "symfony/framework-bundle": "^4.0 ",
39
- + "symfony/finder": "^4.0 ",
38
+ + "symfony/framework-bundle": "^5.4 ",
39
+ + "symfony/finder": "^5.4 ",
40
40
"...": "..."
41
41
},
42
42
+ "minimum-stability": "beta"
43
43
}
44
44
45
45
You can also use set ``minimum-stability `` to ``dev ``, or omit this line
46
46
entirely, and opt into your stability on each package by using constraints
47
- like ``4.0 .*@beta ``.
47
+ like ``5.4 .*@beta ``.
48
48
49
49
Finally, from a terminal, update your project's dependencies:
50
50
0 commit comments