@ihprince yup, that's exactly where you need to put those.
Your App -> Settings -> Reveal Config Vars and add each one separately as KEY => VALUE.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I deploy my laravel app on Heroku. Everything is fine except mail. I do not know how to configure mail driver in heroku. In local, I can send email perfectly, but I do not know how to do that in heroku. Can anyone tell me the procedure?
Here is my .env
MAIL_MAILER=smtp
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=465
MAIL_PASSWORD=123456
MAIL_ENCRYPTION=ssl
Do I have to add this in Heroku Config Vars?
Please or to participate in this conversation.