@@ -32,7 +32,7 @@ Installation & Set Up
32
32
33
33
In the folder above your project root::
34
34
35
- composer create-project codeigniter4/appstarter project-root
35
+ > composer create-project codeigniter4/appstarter project-root
36
36
37
37
The command above will create a "project-root" folder.
38
38
@@ -46,7 +46,7 @@ trusted dependencies that we bundle, being composer-installed.
46
46
47
47
A sample such installation command, using the default project-root "appstarter"::
48
48
49
- composer create-project codeigniter4/appstarter --no-dev
49
+ > composer create-project codeigniter4/appstarter --no-dev
50
50
51
51
After installation you should follow the steps in the "Upgrading" section.
52
52
@@ -55,11 +55,11 @@ Upgrading
55
55
56
56
Whenever there is a new release, then from the command line in your project root::
57
57
58
- composer update
58
+ > composer update
59
59
60
60
If you want to compare the latest framework source structure for non-system directory (app, public, etc), you can update with ``--prefer-source ``::
61
61
62
- composer update codeigniter4/framework --prefer-source
62
+ > composer update codeigniter4/framework --prefer-source
63
63
64
64
If ``--prefer-source `` doesn't automatically update to pull latest framework source structure, you can remove first::
65
65
@@ -125,7 +125,7 @@ will be your document root.
125
125
126
126
In your project root::
127
127
128
- composer require codeigniter4/framework --prefer-source
128
+ > composer require codeigniter4/framework --prefer-source
129
129
130
130
As with the earlier two composer install methods, you can omit installing
131
131
phpunit and its dependencies by adding the ``--no-dev `` argument to the ``composer require `` command.
@@ -147,7 +147,7 @@ Upgrading
147
147
148
148
Whenever there is a new release, then from the command line in your project root::
149
149
150
- composer update --prefer-source
150
+ > composer update --prefer-source
151
151
152
152
Read the upgrade instructions, and check designated
153
153
``app/Config `` folders for affected changes.
@@ -179,6 +179,6 @@ they can be added to your project in a similar fashion.
179
179
180
180
From the command line inside your project root::
181
181
182
- composer require codeigniter4/translations
182
+ > composer require codeigniter4/translations
183
183
184
184
These will be updated along with the framework whenever you do a ``composer update ``.
0 commit comments