From 5ce90b1962998f1536d9d46fb3707625312c1732 Mon Sep 17 00:00:00 2001 From: ashickurnoor Date: Sat, 12 Aug 2017 21:59:58 +0600 Subject: [PATCH] league/oauth2-google is require (#1126) league/oauth2-google is require to send mail. By Adding league/oauth2-google into composer.json it will download required library. https://github.com/PHPMailer/PHPMailer/blob/master/composer.json#L47 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8788ddab..461251c8 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ or composer require phpmailer/phpmailer ``` -If you want to use the Gmail XOAUTH2 authentication class, you will also need to add a dependency on the `league/oauth2-client` package. +If you want to use the Gmail XOAUTH2 authentication class, you will also need to add a dependency on the `league/oauth2-google` package. Alternatively, copy the contents of the PHPMailer folder into one of the `include_path` directories specified in your PHP configuration. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.