{
"name": "tomloprod/colority",
"description": "Colority is a lightweight PHP library designed to handle color transformations, validations and manipulations with ease.",
"type": "library",
"keywords": [
"utility",
"colors",
"conversion-utiliy",
"wcag-contrast"
],
"license": "MIT",
"authors": [
{
"name": "Tomás López",
"email": "tomloprod@gmail.com"
}
],
"require": {
"php": "^8.2.0",
"ext-mbstring": "*"
},
"require-dev": {
"laravel/pint": "^1.15.2",
"pestphp/pest": "^2.34",
"pestphp/pest-plugin-type-coverage": "^2.8",
"rector/rector": "^1.0.4"
},
"autoload": {
"psr-4": {
"Tomloprod\\Colority\\": "src/"
},
"files": [
"src/Support/ColorityAlias.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"scripts": {
"lint": "pint",
"refactor": "rector",
"test:lint": "pint --test",
"test:refactor": "rector --dry-run",
"test:types": "phpstan analyse",
"test:type-coverage": "pest --type-coverage --min=100",
"test:unit": "pest --coverage --min=100",
"test": [
"@test:lint",
"@test:refactor",
"@test:types",
"@test:type-coverage",
"@test:unit"
]
}
}
|