stymiee/email-validator

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "stymiee/email-validator",
    "type": "library",
    "description": "The Email Validator library builds upon PHP's built in filter_var($emailAddress, FILTER_VALIDATE_EMAIL); by adding a default MX record check. It also offers additional validation against disposable email addresses, free email address providers, and a custom banned domain list.",
    "keywords": [
        "PHP",
        "email",
        "validation"
    ],
    "homepage": "https://github.com/stymiee/php-simple-encryption",
    "license": "Apache-2.0",
    "authors": [
        {
            "name": "John Conde",
            "email": "stymiee@gmail.com",
            "homepage": "https://stymiee.dev",
            "role": "Developer"
        }
    ],
    "require": {
        "php": ">=7.2.0",
        "ext-json": "*"
    },
    "require-dev": {
        "phpunit/phpunit": "^8",
        "squizlabs/php_codesniffer": "3.*",
        "phpmd/phpmd": "@stable",
        "nunomaduro/phpinsights": "@stable"
    },
    "autoload": {
        "psr-4": {
            "EmailValidator\\": [
                "src/EmailValidator/"
            ]
        }
    },
    "scripts": {
        "test": "phpunit",
        "phpcs": "php vendor/squizlabs/php_codesniffer/bin/phpcs ./src --report-file=build/phpcs/report.txt --runtime-set ignore_warnings_on_exit 1 --runtime-set ignore_errors_on_exit 1",
        "phpmd": "php vendor/phpmd/phpmd/src/bin/phpmd src/ html cleancode --reportfile build/phpmd/report.html --ignore-violations-on-exit",
        "insights": ".\\vendor\\bin\\phpinsights.bat analyse src/EmailValidator --format=console > build/insights/report.txt"
    }
}