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.
1 parent 4725f4f commit a903d39Copy full SHA for a903d39
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