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