Files
hyperf-saml/composer.json
2023-12-27 03:41:17 +00:00

88 lines
2.0 KiB
JSON

{
"name": "singularity/hyperf-saml",
"type": "library",
"license": "MIT",
"keywords": [
"php",
"hyperf"
],
"description": "A SAML SDK for Hyperf framework",
"autoload": {
"psr-4": {
"Singularity\\HyperfSaml\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\": "tests"
}
},
"require": {
"php": ">=8.1",
"ext-redis": "*",
"hyperf/config": "3.1.*",
"hyperf/constants": "3.1.*",
"hyperf/di": "3.1.*",
"hyperf/http-server": "3.1.*",
"hyperf/translation": "3.1.*",
"hyperf/validation": "3.1.*",
"litesaml/lightsaml": "~3.0.0",
"singularity/hdk-core": "^1.0.0",
"singularity/hdk-auth": "^1.0.0",
"teapot/status-code": "^1.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"friendsofhyperf/pest-plugin-hyperf": "3.1.*",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0",
"swoole/ide-helper": "^4.5"
},
"suggest": {
"swow/swow": "Required to create swow components."
},
"minimum-stability": "alpha",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"scripts": {
"test": [
"rm -rf runtime",
"Composer\\Config::disableProcessTimeout",
"pest --coroutine --prepend tests/bootstrap.php --colors=always"
],
"cs-fix": "php-cs-fixer fix $1 --rules=@PSR12 --allow-risky=yes",
"analyse": "phpstan analyse $1",
"ci": [
"@analyse publish/ src/ tests/",
"@cs-fix",
"@test",
"echo CI Success"
]
},
"extra": {
"hyperf": {
"config": "Singularity\\HyperfSaml\\ConfigProvider"
}
},
"bin": [
"bin/generate-cert"
],
"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-beta.1"
}