Das Deployment von Laravel in Production umfasst eine Abfolge von Optimierungsbefehlen (Caching von Config/Routes/Views), sichere Konfiguration, den Betrieb eines angemessenen Web-Server-Stacks und die Verwaltung von Queues und dem Scheduler. Laravel bietet spezifische Artisan-Befehle zur Production-Optimierung.
Die Production-Optimierungsbefehle
php artisan config:cache
php artisan route:cache
php artisan view:cache
php artisan event:cache
php artisan optimize
composer install --optimize-autoloader --no-dev
