{
"name": "not-empty/jwt-manager-php-lib",
"description": "PHP library to manage JWT authentication",
"version": "7.0.0",
"type": "library",
"license": "GPL-3.0-only",
"require": {
"php": "^8.3"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"mockery/mockery": "^1.6",
"squizlabs/php_codesniffer": "^3.7",
"phpmd/phpmd": "^2.14"
},
"authors": [
{
"name": "Not Empty Foundation",
"email": "dev@not-empty.com"
}
],
"autoload": {
"psr-4": {
"JwtManager\\": "src/"
}
},
"scripts": {
"post-install-cmd": [
"bash contrib/setup.sh"
],
"check": [
"@lint",
"@cs",
"@mess",
"@test",
"@ccu"
],
"mess" : [
"vendor/bin/phpmd ./src text phpmd.xml",
"vendor/bin/phpmd ./sample text phpmd.xml"
],
"lint": [
"find ./src -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
"find ./tests -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
"find ./sample -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0"
],
"cs": "vendor/bin/phpcs",
"test": "phpdbg -qrr vendor/bin/phpunit --configuration phpunit.xml -d memory_limit=1024M",
"ccu" : "php contrib/coverage-checker.php coverage/coverage.xml 100"
}
}
|