{
	"name": "youthweb/urllinker",
	"description": "Autolink URLs in text or html",
	"type": "library",
	"license": "GPL-3.0-or-later",
	"homepage": "https://github.com/Art4/urllinker",
	"authors": [
		{
			"name": "Søren Løvborg",
			"role": "Developer"
		},
		{
			"name": "Dawid Nowak",
			"email": "code@dnowak.pl",
			"role": "Developer"
		}
	],
	"require": {
		"php": "^8.1"
	},
	"require-dev": {
		"friendsofphp/php-cs-fixer": "^3.84",
		"phpstan/phpstan": "^2.0",
		"phpunit/phpunit": "^9.6 || ^11.0 || ^12.0",
		"rector/rector": "^2.1"
	},
	"autoload": {
		"psr-4": {
			"Youthweb\\UrlLinker\\": "src"
		}
	},
	"autoload-dev": {
		"psr-4": {
			"Youthweb\\UrlLinker\\Tests\\": "tests"
		}
	},
	"config": {
		"sort-packages": true
	},
	"scripts": {
		"codestyle": "vendor/bin/php-cs-fixer fix --allow-risky=yes",
		"coverage": "vendor/bin/phpunit --coverage-html=\"build/code-coverage\"",
		"phpstan": "vendor/bin/phpstan analyze --configuration phpstan.neon",
		"phpunit": "vendor/bin/phpunit",
		"rector": "vendor/bin/rector process --dry-run",
		"refactor": [
			"vendor/bin/rector process",
			"@codestyle"
		],
		"test": [
			"@phpunit",
			"@phpstan",
			"@codestyle --dry-run --diff"
		]
	}
}
