Do no require a dependency that is not required
First of all, do not require dependencies that are not required for PHPMailer to work. It works perfectly without. Secondly, the majority of the users will not use Gmail's XOAUTH2 authentication system and do not need these additional dependencies. Thirdly, guzzle and league packages are used a lot. Therefore you make it hard for people that were already using these packages to newer versions of PHPMailer.
This commit is contained in:
parent
bf7059ccbb
commit
126ffa991f
|
|
@ -20,14 +20,16 @@
|
|||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.0.0",
|
||||
"league/oauth2-client": "0.10.*",
|
||||
"guzzle/guzzle": "~3.7"
|
||||
"php": ">=5.0.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpdocumentor/phpdocumentor": "*",
|
||||
"phpunit/phpunit": "4.3.*"
|
||||
},
|
||||
"suggest": {
|
||||
"league/oauth2-client": "0.10.*",
|
||||
"guzzle/guzzle": "~3.7"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"class.phpmailer.php",
|
||||
|
|
|
|||
Loading…
Reference in New Issue