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
This commit is contained in:
ashickurnoor 2017-08-12 21:59:58 +06:00 committed by Marcus Bointon
parent 1fa545d67a
commit 5ce90b1962
1 changed files with 1 additions and 1 deletions

View File

@ -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.