laravel install production code example
Example 1: laravel install production
composer install --optimize-autoloader --no-dev
Example 2: laravel deployment
php artisan optimize
composer install --optimize-autoloader --no-dev
php artisan optimize