0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-19 17:42:14 +02:00
PHPMailer/composer.json

81 lines
2.7 KiB
JSON
Raw Normal View History

{
"name": "phpmailer/phpmailer",
2013-06-06 08:47:17 +02:00
"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"
}
],
2020-05-06 16:42:34 +02:00
"funding": [
{
2020-10-15 14:22:52 +02:00
"url": "https://github.com/Synchro",
2020-05-06 16:42:34 +02:00
"type": "github"
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"lock": false
},
"require": {
"php": ">=5.5.0",
"ext-ctype": "*",
"ext-filter": "*",
"ext-hash": "*"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
2022-12-06 15:46:09 +01:00
"doctrine/annotations": "^1.2.6 || ^1.13.3",
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpcompatibility/php-compatibility": "^9.3.5",
2020-10-15 14:22:52 +02:00
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.7.2",
2022-12-06 15:37:20 +01:00
"yoast/phpunit-polyfills": "^1.0.4"
},
"suggest": {
2023-11-25 23:16:03 +01:00
"decomplexity/SendOauth2": "Adapter for using XOAUTH2 authentication",
"ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses",
2022-12-06 15:36:12 +01:00
"ext-openssl": "Needed for secure SMTP sending and DKIM signing",
2022-10-07 22:34:23 +02:00
"greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication",
2016-01-07 20:38:58 +01:00
"hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication",
2020-10-15 14:22:52 +02:00
"league/oauth2-google": "Needed for Google XOAUTH2 authentication",
"psr/log": "For optional PSR-3 debug logging",
2022-10-07 14:23:10 +02:00
"thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication",
"symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)"
},
"autoload": {
2015-11-09 19:09:13 +01:00
"psr-4": {
"PHPMailer\\PHPMailer\\": "src/"
}
2012-12-03 16:21:49 +01:00
},
"autoload-dev": {
"psr-4": {
"PHPMailer\\Test\\": "test/"
}
},
"license": "LGPL-2.1-only",
"scripts": {
"check": "./vendor/bin/phpcs",
"test": "./vendor/bin/phpunit --no-coverage",
"coverage": "./vendor/bin/phpunit",
GH Actions: add PHP linting job This commit: * Add a new dependency on the PHP Parallel Lint package for fast PHP linting. The PHP Parallel Lint package, in combination with the PHP Console Highlighter provides the following advantages in comparison with "plain" PHP linting: - Higher speed due to the parallel processes. - Improved usability by providing color coded syntax highlighting of found errors on the command-line. - Integration with the `cs2pr` tool, allowing for the results of the lint command to be shown in-line in PRs. * Adds a Composer `lint` script for easy access to the tool for devs, while making sure the correct command line parameters will be used. The linting command as currently set up, will also check the example files for linting errors. * Adds a GH Actions job for linting the code on the high/low supported PHP versions, one arbitrary interim version + an experimental build against PHP 8.1. The `cs2pr` tool has been enabled and will show the results of the non-experimental lint runs in-line in PRs. **Note**: For PHP 8.1, the `cs2pr` tool is not used as there is a known issue in the Parallel Lint tool with PHP 8.1 which breaks on the checkstyle reporting. There is already a [PR open](https://github.com/php-parallel-lint/PHP-Parallel-Lint/pull/64) to fix this upstream. Once this PR has been merged and a new version of Parallel Lint has been released, the separate step for PHP 8.1 linting can be removed. * Makes the `test` job in the GHA workflow dependent on the `lint` job having passed... ... as the tests would fail anyway if there are linting errors. Also adjusts the name of the `test` jobs to include the word "Test" so they can be easily distinguished from the Lint jobs. Refs: * https://github.com/php-parallel-lint/PHP-Parallel-Lint
2021-07-02 18:16:42 +02:00
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . --show-deprecated -e php,phps --exclude vendor --exclude .git --exclude build"
GH Actions: add PHP linting job This commit: * Add a new dependency on the PHP Parallel Lint package for fast PHP linting. The PHP Parallel Lint package, in combination with the PHP Console Highlighter provides the following advantages in comparison with "plain" PHP linting: - Higher speed due to the parallel processes. - Improved usability by providing color coded syntax highlighting of found errors on the command-line. - Integration with the `cs2pr` tool, allowing for the results of the lint command to be shown in-line in PRs. * Adds a Composer `lint` script for easy access to the tool for devs, while making sure the correct command line parameters will be used. The linting command as currently set up, will also check the example files for linting errors. * Adds a GH Actions job for linting the code on the high/low supported PHP versions, one arbitrary interim version + an experimental build against PHP 8.1. The `cs2pr` tool has been enabled and will show the results of the non-experimental lint runs in-line in PRs. **Note**: For PHP 8.1, the `cs2pr` tool is not used as there is a known issue in the Parallel Lint tool with PHP 8.1 which breaks on the checkstyle reporting. There is already a [PR open](https://github.com/php-parallel-lint/PHP-Parallel-Lint/pull/64) to fix this upstream. Once this PR has been merged and a new version of Parallel Lint has been released, the separate step for PHP 8.1 linting can be removed. * Makes the `test` job in the GHA workflow dependent on the `lint` job having passed... ... as the tests would fail anyway if there are linting errors. Also adjusts the name of the `test` jobs to include the word "Test" so they can be easily distinguished from the Lint jobs. Refs: * https://github.com/php-parallel-lint/PHP-Parallel-Lint
2021-07-02 18:16:42 +02:00
]
}
}