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": {
|
2023-01-28 18:37:11 +08:00
|
|
|
"config": "Singularity\\HDK\\Core\\ConfigProvider"
|
2022-12-19 17:28:55 +08:00
|
|
|
}
|
|
|
|
|
},
|
2022-12-19 18:20:10 +08:00
|
|
|
"authors": [
|
|
|
|
|
{
|
|
|
|
|
"name": "李东云",
|
|
|
|
|
"email": "dongyun.li@luxcreo.ai"
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-12-19 17:28:55 +08:00
|
|
|
"require": {
|
2023-01-28 18:43:57 +08:00
|
|
|
"php": "^7.4|^8.0",
|
2022-12-19 17:28:55 +08:00
|
|
|
"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/translation": "^2.2",
|
|
|
|
|
"jetbrains/phpstorm-attributes": "^1.0",
|
|
|
|
|
"lmc/http-constants": "^1.2",
|
2023-01-28 18:25:44 +08:00
|
|
|
"myclabs/php-enum": "^1.8.4",
|
|
|
|
|
"roave/dont": "^1.1",
|
|
|
|
|
"symfony/polyfill-php81": "^1.27",
|
2022-12-19 17:28:55 +08:00
|
|
|
"teapot/status-code": "^1.1"
|
|
|
|
|
},
|
|
|
|
|
"require-dev": {
|
2022-12-20 15:35:13 +08:00
|
|
|
"alibabacloud/dysmsapi-20170525": "^2.0",
|
2023-01-28 18:25:44 +08:00
|
|
|
"firebase/php-jwt": "^6.3",
|
2023-01-09 15:53:22 +08:00
|
|
|
"friendsofphp/php-cs-fixer": "^3.13",
|
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",
|
2023-01-09 15:53:22 +08:00
|
|
|
"phpstan/phpstan": "^1.9",
|
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": "*",
|
2023-01-28 18:25:44 +08:00
|
|
|
"symfony/mailer": "^5.4"
|
2022-12-19 17:28:55 +08:00
|
|
|
},
|
|
|
|
|
"suggest": {
|
2023-01-28 18:25:44 +08:00
|
|
|
"hyperf/resource": "If you need",
|
2022-12-19 17:28:55 +08:00
|
|
|
"firebase/php-jwt": "JWT 鉴权必需",
|
|
|
|
|
"hyperf/session": "Session 鉴权必需",
|
|
|
|
|
"symfony/mailer": "用于发送电子邮件",
|
|
|
|
|
"guzzlehttp/guzzle": "需要发起 http 请求时必需",
|
2023-02-27 11:05:13 +08:00
|
|
|
"alibabacloud/dysmsapi-20170525": "阿里云短信服务必需",
|
|
|
|
|
"laminas/laminas-text": "用于cli展示表格和大字",
|
|
|
|
|
"gevman/interactive-cli": "用于提供漂亮的交互式命令行",
|
|
|
|
|
"clue/stdio-react": "一个基于 reactphp 的交互式命令行",
|
|
|
|
|
"brainmaestro/composer-git-hooks": "用于 php 项目的 git-hooks"
|
2022-12-19 17:28:55 +08:00
|
|
|
},
|
|
|
|
|
"config": {
|
|
|
|
|
"optimize-autoloader": true,
|
|
|
|
|
"sort-packages": true,
|
2023-01-28 18:25:44 +08:00
|
|
|
"secure-http": false,
|
|
|
|
|
"allow-plugins": {
|
|
|
|
|
"pestphp/pest-plugin": true
|
|
|
|
|
}
|
2022-12-19 17:28:55 +08:00
|
|
|
},
|
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": [],
|
2023-01-09 18:22:10 +08:00
|
|
|
"test": "vendor/bin/pest $1",
|
|
|
|
|
"cs-fix": "vendor/bin/php-cs-fixer fix $1 --rules=@PSR12 --allow-risky=yes",
|
|
|
|
|
"analyse": "vendor/bin/phpstan analyse $1",
|
2023-01-09 15:53:22 +08:00
|
|
|
"ci": [
|
|
|
|
|
"@analyse publish/ src/ tests/",
|
2023-01-09 18:22:10 +08:00
|
|
|
"@cs-fix",
|
|
|
|
|
"@test --ci",
|
2023-01-09 15:53:22 +08:00
|
|
|
"echo CI Success"
|
|
|
|
|
]
|
2022-12-19 17:20:04 +08:00
|
|
|
},
|
|
|
|
|
"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
|
|
|
}
|
2023-01-28 10:33:27 +00:00
|
|
|
},
|
2023-03-21 03:02:49 +00:00
|
|
|
"version": "0.1.6"
|
2022-12-19 17:20:04 +08:00
|
|
|
}
|