SendGrid recommends using our PHP SMTPAPI library(link takes you to an external page), full documentation can be found on GitHub. Our PHP API library(link takes you to an external page) allows you to fully integrate with SendGrid.