Execute this command in the production servers to generate the entire PHP autoload configuration in advance (you can get a performance improvement of up to 15%):
$ composer dump-autoload --optimize --no-dev --classmap-authoritative
--optimizeresolves the location of every PSR-0 and PSR-4 compatible PHP class and creates a "class map" so they don't have to be resolved at runtime.
--no-devremoves all the classes that are only used in the development servers (e.g. tests).
--classmap-authoritativeprevents Composer from scanning the file system for classes that are not found in the class map.