Files
hdk-core/composer.json

135 lines
3.4 KiB
JSON
Raw Normal View History

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\\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"
}
],
"bin": [
"bin/hdk-migrate-core.sh"
],
2022-12-19 17:28:55 +08:00
"require": {
"php": ">=8.1",
"ext-dom": "*",
"ext-libxml": "*",
"ext-redis": "^5.3|^6.0",
2022-12-19 17:28:55 +08:00
"ext-swoole": "*",
"composer/composer": ">=2.0",
"ergebnis/http-method": "^2.5",
"friendsofhyperf/rector": "^0.1.5",
"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",
"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": {
"alibabacloud/dysmsapi-20170525": "^2.0",
"firebase/php-jwt": "^6.9",
"friendsofhyperf/pest-plugin-hyperf": "3.1.*",
"friendsofphp/php-cs-fixer": "^3.41.1",
"guzzlehttp/guzzle": "^7.8",
"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",
"phpstan/phpstan": "^1.10.49",
"rector/rector": "^0.15.25",
2022-12-19 17:28:55 +08:00
"roave/security-advisories": "dev-latest",
"spatie/pest-plugin-test-time": "^2.0",
2022-12-20 10:59:47 +08:00
"swoole/ide-helper": "*",
"symfony/mailer": "^6.4.0",
"symfony/serializer": "^6.4.1"
2022-12-19 17:28:55 +08:00
},
"suggest": {
"firebase/php-jwt": "JWT 鉴权必需",
"hyperf/session": "3.1.*",
2022-12-19 17:28:55 +08:00
"symfony/mailer": "用于发送电子邮件",
"symfony/serializer": "处理 XML 必需",
"ext-dom": "处理 XML 必需",
"ext-libxml": "处理 XML 必需",
"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
}
},
"archive": {
"exclude": [
".idea",
"tests",
"scripts",
"Dockerfile",
".gitignore",
".php-cs-fixer.*",
".phpunit.result.cache",
"phpstan.dist.neon",
"phpunit.xml"
]
},
"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": [],
"test": [
"rm -rf runtime",
"pest --coroutine --prepend tests/bootstrap.php --colors=always"
],
"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",
"echo CI Success"
]
2022-12-19 17:20:04 +08:00
},
"repositories": {
"packagist": {
2022-12-19 17:28:55 +08:00
"type": "composer",
"url": "https://mirrors.aliyun.com/composer/"
2022-12-19 17:20:04 +08:00
}
2023-01-13 17:15:17 +00:00
},
2024-12-06 02:10:13 +00:00
"version": "1.0.0-beta.6"
2022-12-19 17:20:04 +08:00
}