File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -166,16 +166,15 @@ most natural in your hosting environment.
166
166
167
167
$ composer dump-env prod --empty
168
168
169
- Sometimes ``composer `` may not be installed on your hosting environment. Thus you
170
- have to install and package Composer related code logic way before deploying.
171
- Another way to generate this optimized file is to manually register the built in
172
- command `Symfony\\Component\\Dotenv\\Command\\DotenvDumpCommand `
173
- and use it:
169
+ If ``composer `` is not installed on your server, you can generate this optimized
170
+ file with a command provided by Symfony itself, which you must register in
171
+ your application before using it:
174
172
175
173
.. code-block :: yaml
176
174
177
- services:
178
- Symfony\C omponent\D otenv\C ommand\D otenvDumpCommand: ~
175
+ # config/services.yaml
176
+ services :
177
+ Symfony\Component\Dotenv\Command\DotenvDumpCommand : ~
179
178
180
179
.. code-block :: terminal
181
180
You can’t perform that action at this time.
0 commit comments