<?php

return [
    "host" => getenv("PETITE_SMTP_HOST") ?: "smtp.gmail.com",
    "port" => (int) (getenv("PETITE_SMTP_PORT") ?: 587),
    "secure" => getenv("PETITE_SMTP_SECURE") ?: "tls",
    "username" => getenv("PETITE_GMAIL_ADDRESS") ?: "iamkbr12@gmail.com",
    "password" => getenv("PETITE_GMAIL_APP_PASSWORD") ?: "aiar vqyy acsx lqdc",
    "from_email" => getenv("PETITE_FROM_EMAIL") ?: (getenv("PETITE_GMAIL_ADDRESS") ?: "iamkbr12@gmail.com"),
    "from_name" => getenv("PETITE_FROM_NAME") ?: "Petite Fille Cafe",
    "frontend_url" => rtrim(getenv("PETITE_FRONTEND_URL") ?: "http://localhost:3000", "/"),
    "backend_url" => rtrim(getenv("PETITE_BACKEND_URL") ?: "http://localhost/petite-backend", "/")
];

