Files
datahub/backend/composer.json
T

88 lines
2.5 KiB
JSON
Raw Normal View History

2025-11-05 16:34:40 +08:00
{
2026-02-02 09:31:04 +08:00
"name": "wpic/datahub",
2025-11-05 16:34:40 +08:00
"type": "project",
"keywords": [
"php",
"swoole",
"framework",
"hyperf",
"microservice",
"middleware"
],
2026-02-02 09:31:04 +08:00
"description": "Wpic datahub project",
"license": "",
2025-11-05 16:34:40 +08:00
"require": {
"php": ">=8.1",
2025-11-26 13:41:15 +08:00
"composer": "^2.7",
2025-11-10 10:45:43 +08:00
"96qbhy/hyperf-auth": "^3.1",
2025-11-17 16:51:51 +08:00
"hyperf/amqp": "^3.1",
2025-11-05 16:34:40 +08:00
"hyperf/cache": "~3.1.0",
"hyperf/command": "~3.1.0",
"hyperf/config": "~3.1.0",
2025-11-10 10:45:43 +08:00
"hyperf/constants": "~3.1.0",
2026-05-07 20:51:38 +08:00
"hyperf/crontab": "~3.1.0",
2026-05-11 10:41:36 +08:00
"gokure/hyperf-cors": "^2.1",
2025-11-10 10:45:43 +08:00
"hyperf/database-pgsql": "^3.1",
2025-11-05 16:34:40 +08:00
"hyperf/db-connection": "~3.1.0",
"hyperf/engine": "^2.10",
"hyperf/framework": "~3.1.0",
"hyperf/guzzle": "^3.1",
2025-11-05 16:34:40 +08:00
"hyperf/http-server": "~3.1.0",
"hyperf/logger": "~3.1.0",
"hyperf/memory": "~3.1.0",
2025-11-12 09:33:45 +08:00
"hyperf/process": "~3.1.0",
2026-03-06 16:55:46 +08:00
"hyperf/rate-limit": "^3.1",
"zircote/swagger-php": "^6.0"
2025-11-05 16:34:40 +08:00
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"hyperf/devtool": "~3.1.0",
"hyperf/testing": "~3.1.0",
2025-11-12 09:33:45 +08:00
"hyperf/watcher": "^3.1",
2025-11-05 16:34:40 +08:00
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0",
"swoole/ide-helper": "^5.0",
"symfony/var-dumper": "~v7.3"
2025-11-05 16:34:40 +08:00
},
"suggest": {
"ext-openssl": "Required to use HTTPS.",
"ext-json": "Required to use JSON.",
"ext-pdo": "Required to use MySQL Client.",
"ext-pdo_mysql": "Required to use MySQL Client.",
"ext-redis": "Required to use Redis Client."
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
"files": []
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\": "./test/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"extra": [],
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-autoload-dump": [
"rm -rf runtime/container"
],
"test": "co-phpunit --prepend test/bootstrap.php --colors=always",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 300M",
"start": [
"Composer\\Config::disableProcessTimeout",
"php ./bin/hyperf.php start"
]
}
}