Files
php-lib-chilean-rut/composer.json

49 lines
1.6 KiB
JSON

{
"name": "mnavarrocarter/chilean-rut",
"description": "PHP Rut Value Object with validation utilities, doctrine type, and other cool features.",
"type": "library",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Matias Navarro-Carter",
"email": "mnavarrocarter@gmail.com",
"role": "Lead Maintainer"
}
],
"autoload": {
"psr-4": {
"MNC\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"MNC\\": "tests"
}
},
"require": {
"php": ">=8.2"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"friendsofphp/php-cs-fixer": "^3.49",
"vimeo/psalm": "^5.22",
"doctrine/dbal": "^2.10.1|^3.0"
},
"scripts": {
"pr": ["@fmt", "@psalm", "@test"],
"ci": ["@fmt:check", "@psalm:gh", "@test"],
"fmt": "php-cs-fixer fix --diff --ansi",
"fmt:check": "php-cs-fixer fix --dry-run --diff --ansi",
"test": ["phpunit --colors"],
"test:unit": "phpunit --colors --exclude-group=integration --exclude-group=e2e",
"test:e2e": "phpunit --colors --group=e2e",
"test:integration": "phpunit --colors --group=integration",
"psalm": "psalm --no-cache --threads=5 --use-baseline",
"psalm:gh": "psalm --no-cache --threads=5 --long-progress --output-format=github --use-baseline",
"psalm:fix": "psalm --update-baseline",
"psalm:allow": "psalm --set-baseline=psalm-baseline.xml"
}
}