I have written a PHP app that sends email for user validation with PHPMailer. Locally everything works like a charm, and I would like to now deploy it in Prod on Heroku and I am looking for guidance on how to integrate PHPMailer there. Unfortunately, I couldn't find very clear material about it. I understand that Heroku uses composer and that I may need to edit composer.json. There is currently no composer.json in my deployed app on Heroku. Should I simply create it from scratch? If so, should I require only PHPMailer or is there anything else that I should include?
Sorry for the dumb questions, I am new to Heroku and I just want to make sure I don't compromise the deployment since it's working fine, and all I need to do is integrate the mail part.