Skip to content

Commit f365de3

Browse files
committed
docs: add sub section "Upgrading to a Specified Version"
1 parent 42e3dd4 commit f365de3

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

user_guide_src/source/installation/installing_composer.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,23 @@ Whenever there is a new release, then from the command line in your project root
8585
Read the :doc:`upgrade instructions <upgrading>` and :doc:`change log <../changelogs/index>`,
8686
and check Breaking Changes and Enhancements.
8787

88+
Upgrading to a Specified Version
89+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
90+
91+
For example, you may want to upgrade to v4.4.8 after v4.5.0 has been released.
92+
93+
In that case, open **composer.json** in your project root folder, and specify
94+
the framework version:
95+
96+
.. code-block:: text
97+
98+
"require": {
99+
...
100+
"codeigniter4/framework": "4.4.8"
101+
},
102+
103+
Then, run the ``composer update`` command.
104+
88105
Pros
89106
----
90107

@@ -219,6 +236,23 @@ Whenever there is a new release, then from the command line in your project root
219236
Read the :doc:`upgrade instructions <upgrading>` and :doc:`change log <../changelogs/index>`,
220237
and check Breaking Changes and Enhancements.
221238

239+
Upgrading to a Specified Version
240+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
241+
242+
For example, you may want to upgrade to v4.4.8 after v4.5.0 has been released.
243+
244+
In that case, open **composer.json** in your project root folder, and specify
245+
the framework version:
246+
247+
.. code-block:: text
248+
249+
"require": {
250+
...
251+
"codeigniter4/framework": "4.4.8"
252+
},
253+
254+
Then, run the ``composer update`` command.
255+
222256
Pros
223257
----
224258

0 commit comments

Comments
 (0)