我已经查看了其他一些帖子,但没有人帮助我。
错误是:
<br />
<b>Fatal error</b>: Class 'League\OAuth2\Client\Provider\Google' not found in
<b>/dir/libs/vendor/phpmailer/phpmailer/class.phpmaileroauthgoogle.php</b> on line
<b>54</b>
<br />
我还读到我必须用作曲家安装联盟。这是我的composer.json,
{
"require": {
"php": ">=5.5.0",
"slim/slim": "^3.1",
"slim/php-view": "^2.0",
"phpmailer/phpmailer": "~5.2",
"league/oauth2-client": "^2.2"
}
}