mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 18:03:04 +02:00
c8613a447b
Many of the PHP extensions used by PHPMailer are optional, in one of two senses. Either there is a fallback if the extension is not present, or the use of the extension is avoidable entirely. For example, there is a fallback parser if "imap_rfc822_parse_adrlist" is not available, and OpenSSL is not needed unless encryption is used; therefore neither are hard dependencies. The filter extension, on the other hand, is unavoidable. It is used unconditionally, with no fallbacks, in (for example) the "isValidHost" function. This commit adds "ext-filter" to composer.json, to document the dependency and to help out composer users. Closes: https://github.com/PHPMailer/PHPMailer/issues/1298
56 lines
1.7 KiB
JSON
56 lines
1.7 KiB
JSON
{
|
|
"name": "phpmailer/phpmailer",
|
|
"type": "library",
|
|
"description": "PHPMailer is a full-featured email creation and transfer class for PHP",
|
|
"authors": [
|
|
{
|
|
"name": "Marcus Bointon",
|
|
"email": "phpmailer@synchromedia.co.uk"
|
|
},
|
|
{
|
|
"name": "Jim Jagielski",
|
|
"email": "jimjag@gmail.com"
|
|
},
|
|
{
|
|
"name": "Andy Prevost",
|
|
"email": "codeworxtech@users.sourceforge.net"
|
|
},
|
|
{
|
|
"name": "Brent R. Matzelle"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=5.5.0",
|
|
"ext-ctype": "*",
|
|
"ext-filter": "*"
|
|
},
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "^2.2",
|
|
"phpdocumentor/phpdocumentor": "2.*",
|
|
"phpunit/phpunit": "^4.8 || ^5.7",
|
|
"zendframework/zend-serializer": "2.7.*",
|
|
"doctrine/annotations": "1.2.*",
|
|
"zendframework/zend-eventmanager": "3.0.*",
|
|
"zendframework/zend-i18n": "2.7.3"
|
|
},
|
|
"suggest": {
|
|
"psr/log": "For optional PSR-3 debug logging",
|
|
"league/oauth2-google": "Needed for Google XOAUTH2 authentication",
|
|
"hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication",
|
|
"stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication",
|
|
"ext-mbstring": "Needed to send email in multibyte encoding charset",
|
|
"symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"PHPMailer\\PHPMailer\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"PHPMailer\\Test\\": "test/"
|
|
}
|
|
},
|
|
"license": "LGPL-2.1"
|
|
}
|