Skip to content

Commit adafd32

Browse files
committed
[Cookbook] Adding a note about optimizing the class map autoloader thanks to @stof's suggestion
1 parent 5753fcc commit adafd32

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cookbook/deployment-tools.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,12 @@ as your normally do:
8888

8989
.. code-block:: bash
9090
91-
$ php composer.phar install
91+
$ php composer.phar install --optimize-autoloader
92+
93+
.. tip::
94+
95+
The ``--optimize-autoloader`` flag makes Composer's autoloader more
96+
performant by building a "class map".
9297

9398
C) Clear your Symfony cache
9499
~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)