{ "name": "jeremykendall/php-domain-parser", "description": "Public Suffix List and IANA Root Zone Database based Domain parsing implemented in PHP.", "homepage": "https://github.com/jeremykendall/php-domain-parser", "support": { "issues": "https://github.com/jeremykendall/php-domain-parser/issues", "source": "https://github.com/jeremykendall/php-domain-parser" }, "license": "MIT", "authors": [ { "name": "Jeremy Kendall", "homepage": "https://about.me/jeremykendall", "role": "Developer" }, { "name": "Ignace Nyamagana Butera", "homepage": "https://nyamsprod.com", "role": "Developer" }, { "name": "Contributors", "homepage": "https://github.com/jeremykendall/php-domain-parser/graphs/contributors" } ], "funding": [ { "type": "github", "url": "https://github.com/sponsors/nyamsprod" } ], "keywords": [ "Public Suffix List", "Top Level Domains", "domain parsing", "icann", "iana", "idn", "tld", "psl" ], "require": { "php": "^8.1", "ext-filter": "*" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.65.0", "guzzlehttp/guzzle": "^7.9.2", "guzzlehttp/psr7": "^1.6 || ^2.7.0", "phpstan/phpstan": "^1.12.13", "phpstan/phpstan-phpunit": "^1.4.2", "phpstan/phpstan-strict-rules": "^1.6.1", "phpunit/phpunit": "^10.5.15 || ^11.5.1", "psr/http-factory": "^1.1.0", "psr/simple-cache": "^1.0.1 || ^2.0.0", "symfony/cache": "^v5.0.0 || ^6.4.16", "symfony/var-dumper": "^v6.4.18 || ^7.2" }, "suggest": { "psr/http-client-implementation": "To use the storage functionality which depends on PSR-18", "psr/http-factory-implementation": "To use the storage functionality which depends on PSR-17", "psr/simple-cache-implementation": "To use the storage functionality which depends on PSR-16", "league/uri": "To parse and extract the host from an URL using a RFC3986/RFC3987 URI parser", "rowbot/url": "To parse and extract the host from an URL using a WHATWG URL parser", "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" }, "autoload": { "psr-4": { "Pdp\\": "src/" } }, "scripts": { "phpcs": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -vvv --diff --dry-run --allow-risky=yes --ansi", "phpcs:fix": "php-cs-fixer fix -vvv --allow-risky=yes --ansi", "phpstan": "phpstan analyse -c phpstan.neon --ansi --memory-limit=192M", "phpunit": "XDEBUG_MODE=coverage phpunit --coverage-text", "phpunit:min": "phpunit --no-coverage", "test": [ "@phpunit", "@phpstan", "@phpcs" ] }, "scripts-descriptions": { "phpcs": "Runs coding style test suite", "phpcs:fix": "Fix the package coding style", "phpstan": "Runs complete codebase static analysis", "phpunit": "Runs unit and functional testing", "test": "Runs the complete test suite" }, "extra": { "branch-alias": { "dev-master": "6.x-dev" } }, "config": { "sort-packages": true } }