2022-12-19 17:20:04 +08:00
|
|
|
{
|
2022-12-19 17:28:55 +08:00
|
|
|
"name": "singularity/hdk-core",
|
2022-12-19 17:20:04 +08:00
|
|
|
"license": "MIT",
|
|
|
|
|
"type": "library",
|
2022-12-19 17:28:55 +08:00
|
|
|
"description": "Common Hyperf Development Kit",
|
|
|
|
|
"extra": {
|
|
|
|
|
"hyperf": {
|
|
|
|
|
"config": "Singularity\\HDK\\ConfigProvider"
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-12-19 18:20:10 +08:00
|
|
|
"authors": [
|
|
|
|
|
{
|
|
|
|
|
"name": "李东云",
|
|
|
|
|
"email": "dongyun.li@luxcreo.ai"
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-12-19 17:28:55 +08:00
|
|
|
"require": {
|
|
|
|
|
"php": "~8.0",
|
|
|
|
|
"ext-redis": "^5.3",
|
|
|
|
|
"ext-swoole": "*",
|
|
|
|
|
"composer/composer": ">=2.0",
|
|
|
|
|
"ergebnis/http-method": "^2.2",
|
|
|
|
|
"hyperf/config": "^2.2",
|
|
|
|
|
"hyperf/constants": "^2.2",
|
|
|
|
|
"hyperf/context": "^2.2",
|
|
|
|
|
"hyperf/database": "^2.2",
|
|
|
|
|
"hyperf/di": "^2.2",
|
|
|
|
|
"hyperf/framework": "^2.2",
|
|
|
|
|
"hyperf/http-server": "^2.2",
|
|
|
|
|
"hyperf/logger": "^2.2",
|
|
|
|
|
"hyperf/redis": "^2.2",
|
|
|
|
|
"hyperf/resource": "^2.2",
|
|
|
|
|
"hyperf/translation": "^2.2",
|
|
|
|
|
"jetbrains/phpstorm-attributes": "^1.0",
|
|
|
|
|
"lmc/http-constants": "^1.2",
|
|
|
|
|
"myclabs/php-enum": "^1.8",
|
|
|
|
|
"roave/dont": "^1.5",
|
|
|
|
|
"symfony/polyfill-php81": "^1.26",
|
|
|
|
|
"teapot/status-code": "^1.1"
|
|
|
|
|
},
|
|
|
|
|
"require-dev": {
|
2022-12-20 15:35:13 +08:00
|
|
|
"alibabacloud/dysmsapi-20170525": "^2.0",
|
2022-12-19 17:28:55 +08:00
|
|
|
"firebase/php-jwt": "^6.1",
|
2022-12-20 15:35:13 +08:00
|
|
|
"guzzlehttp/guzzle": "^7.5",
|
2022-12-19 17:28:55 +08:00
|
|
|
"hyperf/session": "^2.2",
|
|
|
|
|
"hyperf/validation": "^2.2",
|
2022-12-20 10:59:47 +08:00
|
|
|
"pestphp/pest": "^1.22",
|
2022-12-19 17:28:55 +08:00
|
|
|
"phpunit/phpunit": "^9.5",
|
|
|
|
|
"roave/security-advisories": "dev-latest",
|
2022-12-20 10:59:47 +08:00
|
|
|
"swoole/ide-helper": "*",
|
|
|
|
|
"symfony/mailer": "^6.0"
|
2022-12-19 17:28:55 +08:00
|
|
|
},
|
|
|
|
|
"suggest": {
|
|
|
|
|
"firebase/php-jwt": "JWT 鉴权必需",
|
|
|
|
|
"hyperf/session": "Session 鉴权必需",
|
|
|
|
|
"symfony/mailer": "用于发送电子邮件",
|
|
|
|
|
"guzzlehttp/guzzle": "需要发起 http 请求时必需",
|
|
|
|
|
"alibabacloud/dysmsapi-20170525": "阿里云短信服务必需"
|
|
|
|
|
},
|
|
|
|
|
"config": {
|
|
|
|
|
"optimize-autoloader": true,
|
|
|
|
|
"sort-packages": true,
|
|
|
|
|
"secure-http": false
|
|
|
|
|
},
|
2022-12-19 17:20:04 +08:00
|
|
|
"autoload": {
|
|
|
|
|
"psr-4": {
|
2022-12-19 17:28:55 +08:00
|
|
|
"Singularity\\HDK\\Core\\": "src/"
|
2022-12-19 17:20:04 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"autoload-dev": {
|
|
|
|
|
"psr-4": {
|
2022-12-20 10:59:47 +08:00
|
|
|
"Singularity\\HDK\\Test\\Core\\": "tests/"
|
2022-12-19 17:20:04 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"minimum-stability": "dev",
|
|
|
|
|
"prefer-stable": true,
|
|
|
|
|
"scripts": {
|
2022-12-19 17:28:55 +08:00
|
|
|
"post-root-package-install": [],
|
2022-12-19 17:20:04 +08:00
|
|
|
"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": {
|
2022-12-19 17:28:55 +08:00
|
|
|
"lux-map": {
|
|
|
|
|
"type": "composer",
|
|
|
|
|
"url": "https://satis.luxcreo.cn/"
|
|
|
|
|
},
|
2022-12-19 17:20:04 +08:00
|
|
|
"packagist": {
|
|
|
|
|
"type": "composer",
|
2022-12-19 17:28:55 +08:00
|
|
|
"url": "https://mirrors.aliyun.com/composer/"
|
|
|
|
|
},
|
|
|
|
|
"packagist-tx": {
|
|
|
|
|
"type": "composer",
|
|
|
|
|
"url": "https://mirrors.cloud.tencent.com/composer/"
|
|
|
|
|
},
|
|
|
|
|
"packagist-hw": {
|
|
|
|
|
"type": "composer",
|
|
|
|
|
"url": "https://repo.huaweicloud.com/repository/php/"
|
2022-12-19 17:20:04 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|