&1"); // 3. Re-optimize Laravel cache and run migrations execute("php artisan optimize:clear 2>&1"); execute("php artisan migrate --force 2>&1"); echo "Deployment workflow finished.\n";