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-14 01:30:23 +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-12-04 17:12:12 +08:00
|
|
|
"php": ">=8.1",
|
2023-12-14 15:37:26 +08:00
|
|
|
"ext-dom": "*",
|
|
|
|
|
"ext-libxml": "*",
|
2023-10-17 10:55:26 +08:00
|
|
|
"ext-redis": "^5.3|^6.0",
|
2022-12-19 17:28:55 +08:00
|
|
|
"ext-swoole": "*",
|
|
|
|
|
"composer/composer": ">=2.0",
|
2023-12-14 15:37:26 +08:00
|
|
|
"ergebnis/http-method": "^2.5",
|
2023-12-04 17:12:12 +08:00
|
|
|
"hyperf/config": "3.1.*",
|
|
|
|
|
"hyperf/constants": "3.1.*",
|
|
|
|
|
"hyperf/context": "3.1.*",
|
|
|
|
|
"hyperf/di": "3.1.*",
|
|
|
|
|
"hyperf/framework": "3.1.*",
|
|
|
|
|
"hyperf/logger": "3.1.*",
|
|
|
|
|
"hyperf/redis": "3.1.*",
|
|
|
|
|
"hyperf/resource": "3.1.*",
|
|
|
|
|
"hyperf/translation": "3.1.*",
|
2022-12-19 17:28:55 +08:00
|
|
|
"jetbrains/phpstorm-attributes": "^1.0",
|
2023-12-14 15:37:26 +08:00
|
|
|
"lmc/http-constants": "^1.2.0",
|
|
|
|
|
"myclabs/php-enum": "^1.8.4",
|
|
|
|
|
"roave/dont": "^1.6.0",
|
|
|
|
|
"symfony/http-foundation": "^6.4",
|
|
|
|
|
"symfony/polyfill-php81": "^1.28",
|
|
|
|
|
"symfony/polyfill-php82": "^1.28",
|
|
|
|
|
"symfony/polyfill-php83": "^1.28",
|
|
|
|
|
"teapot/status-code": "^1.1.2"
|
2022-12-19 17:28:55 +08:00
|
|
|
},
|
|
|
|
|
"require-dev": {
|
2022-12-20 15:35:13 +08:00
|
|
|
"alibabacloud/dysmsapi-20170525": "^2.0",
|
2023-12-14 15:37:26 +08:00
|
|
|
"firebase/php-jwt": "^6.9",
|
2023-12-04 17:12:12 +08:00
|
|
|
"friendsofhyperf/pest-plugin-hyperf": "3.1.*",
|
|
|
|
|
"friendsofhyperf/rector": "^0.1.5",
|
2023-12-14 15:37:26 +08:00
|
|
|
"friendsofphp/php-cs-fixer": "^3.41.1",
|
|
|
|
|
"guzzlehttp/guzzle": "^7.8",
|
2023-12-04 17:12:12 +08:00
|
|
|
"hyperf/crontab": "3.1.*",
|
|
|
|
|
"hyperf/database": "3.1.*",
|
|
|
|
|
"hyperf/db": "3.1.*",
|
|
|
|
|
"hyperf/guzzle": "3.1.*",
|
|
|
|
|
"hyperf/session": "3.1.*",
|
|
|
|
|
"hyperf/testing": "^3.1",
|
|
|
|
|
"hyperf/validation": "3.1.*",
|
|
|
|
|
"pestphp/pest": "^2.23",
|
2023-12-14 15:37:26 +08:00
|
|
|
"phpstan/phpstan": "^1.10.49",
|
2022-12-19 17:28:55 +08:00
|
|
|
"roave/security-advisories": "dev-latest",
|
2023-12-04 17:12:12 +08:00
|
|
|
"spatie/pest-plugin-test-time": "^2.0",
|
2022-12-20 10:59:47 +08:00
|
|
|
"swoole/ide-helper": "*",
|
2023-12-14 15:37:26 +08:00
|
|
|
"symfony/mailer": "^6.4.0",
|
|
|
|
|
"symfony/serializer": "^6.4.1"
|
2022-12-19 17:28:55 +08:00
|
|
|
},
|
|
|
|
|
"suggest": {
|
|
|
|
|
"firebase/php-jwt": "JWT 鉴权必需",
|
2023-12-04 17:12:12 +08:00
|
|
|
"hyperf/session": "3.1.*",
|
2022-12-19 17:28:55 +08:00
|
|
|
"symfony/mailer": "用于发送电子邮件",
|
2023-04-11 16:00:39 +08:00
|
|
|
"symfony/serializer": "处理 XML 必需",
|
|
|
|
|
"ext-dom": "处理 XML 必需",
|
|
|
|
|
"ext-libxml": "处理 XML 必需",
|
2023-12-04 17:12:12 +08:00
|
|
|
"hyperf/guzzle": "3.1.*",
|
2022-12-19 17:28:55 +08:00
|
|
|
"alibabacloud/dysmsapi-20170525": "阿里云短信服务必需"
|
|
|
|
|
},
|
|
|
|
|
"config": {
|
|
|
|
|
"optimize-autoloader": true,
|
|
|
|
|
"sort-packages": true,
|
2023-02-01 21:11:13 +08:00
|
|
|
"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
|
|
|
}
|
|
|
|
|
},
|
2023-10-17 10:55:26 +08:00
|
|
|
"archive": {
|
|
|
|
|
"exclude": [
|
|
|
|
|
".idea",
|
|
|
|
|
"tests",
|
|
|
|
|
"scripts",
|
|
|
|
|
"Dockerfile",
|
|
|
|
|
".gitignore",
|
|
|
|
|
".php-cs-fixer.*",
|
|
|
|
|
".phpunit.result.cache",
|
|
|
|
|
"phpstan.dist.neon",
|
|
|
|
|
"phpunit.xml"
|
|
|
|
|
]
|
|
|
|
|
},
|
2023-12-14 15:48:30 +08:00
|
|
|
"minimum-stability": "dev",
|
2022-12-19 17:20:04 +08:00
|
|
|
"prefer-stable": true,
|
|
|
|
|
"scripts": {
|
2022-12-19 17:28:55 +08:00
|
|
|
"post-root-package-install": [],
|
2023-09-26 10:41:15 +08:00
|
|
|
"test": [
|
|
|
|
|
"rm -rf runtime",
|
2023-12-04 17:12:12 +08:00
|
|
|
"pest --coroutine --prepend tests/bootstrap.php --colors=always"
|
2023-09-26 10:41:15 +08:00
|
|
|
],
|
2023-01-09 18:22:10 +08:00
|
|
|
"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",
|
2023-12-04 17:12:12 +08:00
|
|
|
"@test",
|
2023-01-09 15:53:22 +08:00
|
|
|
"echo CI Success"
|
|
|
|
|
]
|
2022-12-19 17:20:04 +08:00
|
|
|
},
|
|
|
|
|
"repositories": {
|
|
|
|
|
"packagist": {
|
2022-12-19 17:28:55 +08:00
|
|
|
"type": "composer",
|
2023-06-02 10:19:01 +08:00
|
|
|
"url": "https://mirrors.aliyun.com/composer/"
|
2022-12-19 17:20:04 +08:00
|
|
|
}
|
2023-01-13 17:15:17 +00:00
|
|
|
},
|
2023-12-14 07:38:35 +00:00
|
|
|
"version": "1.0.0-alpha.17"
|
2022-12-19 17:20:04 +08:00
|
|
|
}
|