File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -125,14 +125,13 @@ deployment process too):
125
125
126
126
.. code-block :: terminal
127
127
128
- $ composer dump-autoload --optimize -- no-dev --classmap-authoritative
128
+ $ composer dump-autoload --no-dev --classmap-authoritative
129
129
130
- * ``--optimize `` dumps every PSR-0 and PSR-4 compatible class used in your
131
- application;
132
130
* ``--no-dev `` excludes the classes that are only needed in the development
133
- environment (e.g. tests);
134
- * ``--classmap-authoritative `` prevents Composer from scanning the file
135
- system for classes that are not found in the class map.
131
+ environment (i.e. ``require-dev `` dependancies and ``autoload-dev `` rules);
132
+ * ``--classmap-authoritative `` creates a class map for PSR-0 and PSR-4 compatible classes
133
+ used in your application and prevents Composer from scanning the file system for
134
+ classes that are not found in the class map. (see: `Composer's autoloader optimization `_)
136
135
137
136
Learn more
138
137
----------
You can’t perform that action at this time.
0 commit comments