openclassify/vendor/vstelmakh/url-highlight/composer.json
Mostafa Moradi cd80f0352b initial
2022-03-09 12:57:37 +03:00

67 lines
2.1 KiB
JSON

{
"name": "vstelmakh/url-highlight",
"description": "Library to parse urls from string input",
"keywords": ["url", "parser", "html", "extract", "clickable"],
"type": "library",
"license": "MIT",
"homepage": "https://github.com/vstelmakh/url-highlight",
"authors": [
{
"name": "Volodymyr Stelmakh",
"homepage": "https://github.com/vstelmakh"
}
],
"require": {
"php": "^7.1 || ^8",
"ext-json": "*",
"ext-mbstring": "*",
"symfony/polyfill-php72": "^1.10"
},
"require-dev" : {
"phpunit/phpunit": "^7.5.3 || ^8 || ^9",
"phpstan/phpstan": "^0.12",
"squizlabs/php_codesniffer": "^3.5",
"vstelmakh/covelyzer": "^0.1",
"phpbench/phpbench": "^0.16 || ^0.17"
},
"autoload": {
"psr-4": {
"VStelmakh\\UrlHighlight\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"VStelmakh\\UrlHighlight\\Tests\\": "tests/",
"VStelmakh\\UrlHighlight\\Benchmarks\\": "benchmarks/"
}
},
"scripts": {
"test:phpcs": "vendor/bin/phpcs -n",
"test:phpstan": "vendor/bin/phpstan analyse --ansi --no-progress",
"test:phpunit": "vendor/bin/phpunit --colors=always",
"test:phpunit-coverage": [
"@test:phpunit --dump-xdebug-filter var/xdebug-filter.php",
"@test:phpunit --prepend var/xdebug-filter.php --coverage-clover var/coverage.xml"
],
"test:covelyzer": "vendor/bin/covelyzer var/coverage.xml --ansi",
"test:phpbench": "vendor/bin/phpbench run --report=url_highlight --time-unit=milliseconds --ansi",
"test:all": [
"@test:phpcs",
"@test:phpstan",
"@test:phpunit-coverage",
"@test:covelyzer",
"@test:phpbench"
]
},
"scripts-descriptions": {
"test:phpcs": "Run PHP Code Sniffer",
"test:phpstan": "Run PHPStan",
"test:phpunit": "Run PHPUnit",
"test:phpunit-coverage": "Run PHPUnit with coverage",
"test:all": "Run all code analysis and tests"
}
}