We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b954366 + a903d39 commit 4d70b70Copy full SHA for 4d70b70
cookbook/deployment-tools.rst
@@ -88,12 +88,14 @@ as your normally do:
88
89
.. code-block:: bash
90
91
- $ php composer.phar install --optimize-autoloader
+ $ php composer.phar install --no-dev --optimize-autoloader
92
93
.. tip::
94
95
The ``--optimize-autoloader`` flag makes Composer's autoloader more
96
- performant by building a "class map".
+ performant by building a "class map". The ``--no-dev`` flag
97
+ ensures that development packages are not installed in the production
98
+ environment.
99
100
C) Clear your Symfony cache
101
~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments