Browse Source

Composer -o

Composer allows us to optimize the autoloader using the --optimize flag or shortly -o.
Alexandr 7 years ago
parent
commit
2b5925bc62
1 changed files with 2 additions and 1 deletions
  1. 2 1
      composer.json

+ 2 - 1
composer.json

@@ -45,6 +45,7 @@
     },
     "config": {
         "preferred-install": "dist",
-        "sort-packages": true
+        "sort-packages": true,
+        "optimize-autoloader": true
     }
 }