2020-11-02 22:45:37 +08:00
|
|
|
{
|
|
|
|
"name": "hyperf/hyperf-skeleton",
|
|
|
|
"type": "project",
|
|
|
|
"keywords": [
|
|
|
|
"php",
|
|
|
|
"swoole",
|
|
|
|
"framework",
|
|
|
|
"hyperf",
|
|
|
|
"microservice",
|
|
|
|
"middleware"
|
|
|
|
],
|
|
|
|
"description": "A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"require": {
|
|
|
|
"php": ">=7.2",
|
|
|
|
"ext-swoole": ">=4.5",
|
2021-08-27 23:50:40 +08:00
|
|
|
"hyperf/cache": "2.1.*",
|
|
|
|
"hyperf/command": "2.1.*",
|
|
|
|
"hyperf/config": "2.1.*",
|
|
|
|
"hyperf/db-connection": "2.1.*",
|
|
|
|
"hyperf/framework": "2.1.*",
|
|
|
|
"hyperf/guzzle": "2.1.*",
|
|
|
|
"hyperf/http-server": "2.1.*",
|
|
|
|
"hyperf/logger": "2.1.*",
|
|
|
|
"hyperf/memory": "2.1.*",
|
|
|
|
"hyperf/process": "2.1.*",
|
|
|
|
"hyperf/redis": "2.1.*",
|
|
|
|
"hyperf/database": "2.1.*",
|
|
|
|
"hyperf/async-queue": "2.1.*",
|
|
|
|
"hyperf/websocket-server": "2.1.*",
|
|
|
|
"hyperf/constants": "2.1.*",
|
|
|
|
"hyperf/validation": "2.1.*",
|
|
|
|
"hyperf/filesystem": "2.1.*",
|
2020-11-30 22:59:49 +08:00
|
|
|
"hashids/hashids": "^4.0",
|
2021-04-17 16:40:23 +08:00
|
|
|
"ext-json": "*",
|
2021-08-27 23:50:40 +08:00
|
|
|
"hyperf/view": "2.1.*",
|
|
|
|
"hyperf/view-engine": "2.1.*",
|
2021-05-23 16:52:01 +08:00
|
|
|
"phpmailer/phpmailer": "^6.2",
|
2021-07-10 10:55:25 +08:00
|
|
|
"96qbhy/hyperf-auth": "^2.3",
|
2021-08-29 22:04:36 +08:00
|
|
|
"hyperf/event": "2.1.*"
|
2020-11-02 22:45:37 +08:00
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"swoole/ide-helper": "^4.5",
|
|
|
|
"friendsofphp/php-cs-fixer": "^2.14",
|
|
|
|
"mockery/mockery": "^1.0",
|
|
|
|
"phpstan/phpstan": "^0.12",
|
2021-08-27 23:50:40 +08:00
|
|
|
"hyperf/devtool": "2.1.*",
|
|
|
|
"hyperf/testing": "2.1.*"
|
2020-11-02 22:45:37 +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": [
|
|
|
|
"app/helper.php"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"HyperfTest\\": "./test/"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"minimum-stability": "dev",
|
|
|
|
"prefer-stable": 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 -c phpunit.xml --colors=always",
|
|
|
|
"cs-fix": "php-cs-fixer fix $1",
|
|
|
|
"analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config",
|
|
|
|
"start": "php ./bin/hyperf.php start"
|
|
|
|
}
|
|
|
|
}
|