Files
hdk-auth/composer.json
2023-02-20 14:26:23 +08:00

57 lines
1.3 KiB
JSON
Executable File

{
"name": "singularity/hdk-auth",
"license": "MIT",
"type": "library",
"description": "登录控制",
"autoload": {
"psr-4": {
"Singularity\\HDK\\Auth\\": "src/"
}
},
"extra": {
"hyperf": {
"config": "Singularity\\HDK\\Auth\\ConfigProvider"
}
},
"require": {
"php": ">=7.4",
"composer/composer": "~2.0.14",
"hyperf/validation": "^2.2.33",
"singularity/hdk-core": "0.1.x-dev",
"symfony/polyfill-php80": "^1.27",
"ext-redis": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"firebase/php-jwt": "^6.3"
},
"suggest": {
"firebase/php-jwt": "^6.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"secure-http": false
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"test": "vendor/bin/phpunit --prepend test/bootstrap.php -c phpunit.xml --colors=always",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config"
},
"repositories": {
"lux-map": {
"type": "composer",
"url": "https://satis.luxcreo.cn/"
},
"packagist": {
"type": "composer",
"url": "https://mirrors.aliyun.com/composer"
}
}
}