Files
hdk-auth/composer.json
2023-03-15 02:16:15 +00:00

60 lines
1.4 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": ">=8.0",
"ext-redis": "*",
"composer/composer": ">=2.0",
"donjan-deng/hyperf-casbin": "^3.21",
"hyperf/validation": "3.0.*",
"singularity/hdk-core": "^0.2.9",
"symfony/polyfill-php80": "^1.27"
},
"require-dev": {
"firebase/php-jwt": "^6.3",
"guzzlehttp/guzzle": "^7.5",
"phpunit/phpunit": "^9.5"
},
"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"
}
},
"version": "0.2.1"
}