{
    "name": "php-imap/php-imap",
    "description": "Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)",
    "keywords": [
        "PHP",
        "mail",
        "IMAP",
        "POP3",
        "mailbox",
        "receive emails"
    ],
    "homepage": "https://github.com/barbushin/php-imap",
    "license": "MIT",
    "type": "library",
    "authors": [
        {
            "name": "Sergey Barbushin",
            "homepage": "http://linkedin.com/in/barbushin",
            "email": "barbushin@gmail.com"
        }
    ],
    "config": {
        "sort-packages": true
    },
    "require": {
        "php": "^7.2",
        "ext-fileinfo": "*",
        "ext-iconv": "*",
        "ext-imap": "*",
        "ext-mbstring": "*"
    },
    "require-dev": {
        "friendsofphp/php-cs-fixer": "^2.16",
        "jakub-onderka/php-parallel-lint": "^1.0",
        "maglnet/composer-require-checker": "^2.0",
        "paragonie/hidden-string": "^1.0",
        "phpunit/phpunit": "^8.5",
        "povils/phpmnd": "^2.2",
        "psalm/plugin-phpunit": "^0.10.0",
        "roave/security-advisories": "dev-master",
        "sebastian/phpcpd": "^4.1",
        "vimeo/psalm": "^3.11.5"
    },
    "scripts": {
        "static-analysis": [
            "parallel-lint .php_cs.dist src tests examples",
            "phpcpd src tests",
            "composer-require-checker check ./composer.json",
            "phpmnd ./ --exclude=./.github/ --exclude=./examples/ --exclude=./vendor/ --non-zero-exit-on-violation --hint",
            "php-cs-fixer fix --allow-risky=yes --no-interaction --dry-run --diff-format=udiff -v",
            "psalm --show-info=false"
        ],
        "tests": [
            "@static-analysis",
            "phpunit --testdox"
        ]
    },
    "suggest": {
        "ext-fileinfo": "To facilitate IncomingMailAttachment::getFileInfo() auto-detection"
    },
    "autoload-dev": {
        "psr-4": {
            "PhpImap\\": "tests/unit"
        }
    },
    "autoload": {
        "psr-4": {
            "PhpImap\\": "src/PhpImap"
        }
    }
}
