# note that if you still want the require-dev packages
# you can leave off the --no-dev option
$ composer install --optimize-autoloader --no-dev

# clear cache
$ php artisan config:cache
$ php artisan route:cache
$ php artisan view:cache

# Or you can just do this
$ php artisan optimize:clear