{ "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.1", "ext-redis": "*", "composer/composer": ">=2.5.8", "donjan-deng/hyperf-casbin": "^3.22.2", "hyperf/validation": "~3.0.24", "singularity/hdk-core": "^1.0.0-alpha.3", "symfony/polyfill-php80": "^1.27.0" }, "require-dev": { "firebase/php-jwt": "^6.8.0", "guzzlehttp/guzzle": "^7.7.0", "hyperf/session": "^3.0.18", "phpunit/phpunit": "^9.6.9" }, "suggest": { "firebase/php-jwt": "^6.3" }, "minimum-stability": "alpha", "prefer-stable": true, "config": { "optimize-autoloader": true, "sort-packages": true }, "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": { "nest": { "type": "composer", "url": "https://nest.doylee.cn/api/packages/HDK/composer" }, "packagist": { "type": "composer", "url": "https://mirrors.aliyun.com/composer/" } }, "version": "1.0.0-alpha.1" }