Skip to content

Commit

Permalink
Do no require a dependency that is not required
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
frederikbosch committed Sep 2, 2015
1 parent bf7059c commit 126ffa9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 126ffa9

Please sign in to comment.