set up laravel for production code example Example: laravel install production composer install --optimize-autoloader --no-dev