mirror of
http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore.git
synced 2026-01-15 03:45:06 +08:00
121 lines
3.2 KiB
JSON
Executable File
121 lines
3.2 KiB
JSON
Executable File
{
|
|
"name": "singularity/hdk-core",
|
|
"license": "MIT",
|
|
"type": "library",
|
|
"description": "Common Hyperf Development Kit",
|
|
"extra": {
|
|
"hyperf": {
|
|
"config": "Singularity\\HDK\\Core\\ConfigProvider"
|
|
}
|
|
},
|
|
"authors": [
|
|
{
|
|
"name": "李东云",
|
|
"email": "dongyun.li@luxcreo.ai"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.1",
|
|
"ext-redis": "^5.3",
|
|
"ext-swoole": "*",
|
|
"composer/composer": ">=2.0",
|
|
"ergebnis/http-method": "^2.2",
|
|
"hyperf/config": "^3.0.18",
|
|
"hyperf/constants": "^3.0.18",
|
|
"hyperf/context": "^3.0.18",
|
|
"hyperf/di": "^3.0.18",
|
|
"hyperf/framework": "^3.0.18",
|
|
"hyperf/logger": "^3.0.18",
|
|
"hyperf/redis": "^3.0.18",
|
|
"hyperf/resource": "^3.0.18",
|
|
"hyperf/translation": "^3.0.18",
|
|
"jetbrains/phpstorm-attributes": "^1.0",
|
|
"lmc/http-constants": "^1.2",
|
|
"myclabs/php-enum": "^1.8",
|
|
"roave/dont": "^1.5",
|
|
"symfony/http-foundation": "^6.0",
|
|
"symfony/polyfill-php81": "^1.26",
|
|
"teapot/status-code": "^1.1",
|
|
"ext-libxml": "*",
|
|
"ext-dom": "*"
|
|
},
|
|
"require-dev": {
|
|
"alibabacloud/dysmsapi-20170525": "^2.0",
|
|
"cooper/hyperf-pest": "^1.1",
|
|
"firebase/php-jwt": "^6.1",
|
|
"friendsofphp/php-cs-fixer": "^3.13",
|
|
"guzzlehttp/guzzle": "^7.5",
|
|
"hyperf/crontab": "^3.0.18",
|
|
"hyperf/database": "^3.0.18",
|
|
"hyperf/db": "^3.0.18",
|
|
"hyperf/guzzle": "^3.0.18",
|
|
"hyperf/session": "^3.0.18",
|
|
"hyperf/validation": "^3.0.18",
|
|
"pestphp/pest": "^1.22",
|
|
"phpstan/phpstan": "^1.9",
|
|
"phpunit/phpunit": "^9.5",
|
|
"roave/security-advisories": "dev-latest",
|
|
"spatie/pest-plugin-test-time": "^1.1",
|
|
"swoole/ide-helper": "*",
|
|
"symfony/mailer": "^6.0",
|
|
"symfony/serializer": "^6.0"
|
|
},
|
|
"suggest": {
|
|
"firebase/php-jwt": "JWT 鉴权必需",
|
|
"hyperf/session": "^3.0.18",
|
|
"symfony/mailer": "用于发送电子邮件",
|
|
"symfony/serializer": "处理 XML 必需",
|
|
"ext-dom": "处理 XML 必需",
|
|
"ext-libxml": "处理 XML 必需",
|
|
"hyperf/guzzle": "^3.0.18",
|
|
"alibabacloud/dysmsapi-20170525": "阿里云短信服务必需"
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true,
|
|
"secure-http": false,
|
|
"allow-plugins": {
|
|
"pestphp/pest-plugin": true
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Singularity\\HDK\\Core\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Singularity\\HDK\\Test\\Core\\": "tests/"
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"scripts": {
|
|
"post-root-package-install": [],
|
|
"test": [
|
|
"rm -rf runtime",
|
|
"Composer\\Config::disableProcessTimeout",
|
|
"co-pest --prepend tests/bootstrap.php -c phpunit.xml --colors=always $1"
|
|
],
|
|
"cs-fix": "vendor/bin/php-cs-fixer fix $1 --rules=@PSR12 --allow-risky=yes",
|
|
"analyse": "vendor/bin/phpstan analyse $1",
|
|
"ci": [
|
|
"@analyse publish/ src/ tests/",
|
|
"@cs-fix",
|
|
"@test --ci",
|
|
"echo CI Success"
|
|
]
|
|
},
|
|
"repositories": {
|
|
"lux-map": {
|
|
"type": "composer",
|
|
"url": "https://satis.luxcreo.cn/"
|
|
},
|
|
"packagist": {
|
|
"type": "composer",
|
|
"url": "https://mirrors.aliyun.com/composer/"
|
|
}
|
|
},
|
|
"version": "1.0.0-alpha.3"
|
|
}
|