{
"name": "lee/php-monetization",
"description": "This is a PHP helper to generate related monetization information",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "peter279k",
"email": "peter279k@gmail.com"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.2"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"phpstan/phpstan": "*"
},
"autoload": {
"psr-4": {
"Lee\\WebMonetization\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Lee\\WebMonetization\\Tests\\": "tests/"
}
},
"scripts": {
"static-analysis": "vendor/bin/phpstan analyse src --level=max -c phpstan.neon --no-progress",
"install-cs": "php -r \"@mkdir('build'); copy('https://cs.symfony.com/download/php-cs-fixer-v2.phar', 'build/php-cs-fixer-v2.phar');\"",
"fix-cs": "php build/php-cs-fixer-v2.phar fix --config=.cs.php",
"check-cs": "php build/php-cs-fixer-v2.phar fix --dry-run --format=txt --verbose --diff --diff-format=udiff --config=.cs.php",
"check-all": [
"@static-analysis",
"@install-cs",
"@check-cs"
]
}
}
|