composer production build code example Example: composer install production composer install --no-dev --optimize-autoloader