87 lines
2.6 KiB
JSON
87 lines
2.6 KiB
JSON
{
|
|
"name": "pi/demo",
|
|
"type": "project",
|
|
"keywords": [
|
|
"php",
|
|
"swoole"
|
|
],
|
|
"description": "一个基础框架。",
|
|
"license": "Apache-2.0",
|
|
"require": {
|
|
"php": ">=8.1",
|
|
"cfn/math-captcha": "^1.0",
|
|
"endroid/qr-code": "^6.0",
|
|
"firebase/php-jwt": "^6.11",
|
|
"hyperf/async-queue": "^3.1",
|
|
"hyperf/cache": "~3.1.0",
|
|
"hyperf/command": "~3.1.0",
|
|
"hyperf/config": "~3.1.0",
|
|
"hyperf/crontab": "^3.1",
|
|
"hyperf/database": "~3.1.0",
|
|
"hyperf/db-connection": "~3.1.0",
|
|
"hyperf/engine": "^2.14",
|
|
"hyperf/filesystem": "^3.1",
|
|
"hyperf/framework": "~3.1.0",
|
|
"hyperf/guzzle": "~3.1.0",
|
|
"hyperf/http-server": "~3.1.0",
|
|
"hyperf/logger": "~3.1.0",
|
|
"hyperf/memory": "~3.1.0",
|
|
"hyperf/paginator": "^3.1",
|
|
"hyperf/phar": "^3.1",
|
|
"hyperf/process": "~3.1.0",
|
|
"hyperf/rate-limit": "^3.1",
|
|
"hyperf/redis": "~3.1.0",
|
|
"hyperf/translation": "^3.1",
|
|
"hyperf/validation": "^3.1",
|
|
"hyperf/view": "^3.1",
|
|
"hyperf/websocket-server": "^3.1",
|
|
"phpoffice/phpspreadsheet": "^4.5",
|
|
"twig/twig": "^3.22",
|
|
"zoujingli/ip2region": "^3.0"
|
|
},
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "^3.89",
|
|
"hyperf/devtool": "~3.1.0",
|
|
"hyperf/testing": "~3.1.0",
|
|
"hyperf/watcher": "^3.1",
|
|
"mockery/mockery": "^1.6",
|
|
"phpstan/phpstan": "^1.12",
|
|
"swoole/ide-helper": "^5.1"
|
|
},
|
|
"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": []
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|