add two more

This commit is contained in:
mcoder 2026-07-03 21:16:49 +03:30
parent 30823f24d3
commit ca4b3fd4be

View File

@ -7,8 +7,11 @@ echo "[+] Starting Initialization Process..."
# ۱. نصب وابستگی‌های PHP با نادیده گرفتن پکیج‌های Dev # ۱. نصب وابستگی‌های PHP با نادیده گرفتن پکیج‌های Dev
echo "[+] Installing PHP dependencies via Composer..." echo "[+] Installing PHP dependencies via Composer..."
composer install || true composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
if [ ! -d vendor ]; then
echo "[!] vendor not found, stopping"
exit 1
fi
# ۲. پیکربندی محیط (Environment) لاراول # ۲. پیکربندی محیط (Environment) لاراول
if [ ! -f .env ]; then if [ ! -f .env ]; then
echo "[+] .env file not found. Creating from .env.example..." echo "[+] .env file not found. Creating from .env.example..."