File tree 1 file changed +27
-2
lines changed
1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,32 @@ you'll need to do:
112
112
A) Check Requirements
113
113
~~~~~~~~~~~~~~~~~~~~~
114
114
115
- Use the ``check:requirements `` command to check if your server meets the
116
- :ref: `technical requirements for running Symfony applications <symfony-tech-requirements >`.
115
+ There are some :ref: `technical requirements for running Symfony applications <symfony-tech-requirements >`.
116
+ In your development machine, the recommended way to check these requirements is
117
+ to use `Symfony CLI `_. However, in your production server you might prefer to
118
+ not install the Symfony CLI tool. In those cases, install this other package in
119
+ your application:
120
+
121
+ .. code-block :: terminal
122
+
123
+ $ composer require symfony/requirements-checker
124
+
125
+ Then, make sure that the checker is included in your Composer scripts:
126
+
127
+ .. code-block :: json
128
+
129
+ {
130
+ "..." : " ..." ,
131
+
132
+ "scripts" : {
133
+ "auto-scripts" : {
134
+ "vendor/bin/requirements-checker" : " php-script" ,
135
+ "..." : " ..."
136
+ },
137
+
138
+ "..." : " ..."
139
+ }
140
+ }
117
141
118
142
.. _b-configure-your-app-config-parameters-yml-file :
119
143
@@ -257,3 +281,4 @@ Learn More
257
281
.. _`Clever Cloud` : https://www.clever-cloud.com/doc/php/tutorial-symfony/
258
282
.. _`Symfony Cloud` : https://symfony.com/doc/master/cloud/intro.html
259
283
.. _`Scalingo` : https://doc.scalingo.com/languages/php/symfony
284
+ .. _`Symfony CLI` : https://symfony.com/download
You can’t perform that action at this time.
0 commit comments