zhamao-framework/composer.json

106 lines
3.2 KiB
JSON
Raw Normal View History

2018-10-29 15:27:06 +08:00
{
"name": "zhamao/framework",
"description": "High performance chat robot and web server development framework",
"license": "Apache-2.0",
"authors": [
{
"name": "jerry",
"email": "admin@zhamao.me"
2022-04-30 13:36:40 +08:00
},
{
"name": "sunxyw",
2022-04-30 20:43:19 +08:00
"email": "dev@sunxyw.xyz"
}
],
"require": {
2022-12-26 20:02:47 +08:00
"php": "^8.0 || ^8.1 || ^8.2",
"ext-json": "*",
2022-12-18 00:11:33 +08:00
"ext-tokenizer": "*",
"doctrine/dbal": "^2.13.1",
"dragonmantank/cron-expression": "^3.3",
"jelix/version": "^2.0",
"koriym/attributes": "^1.0",
2022-12-31 17:17:03 +08:00
"nunomaduro/collision": "^6.3",
2023-03-05 14:36:39 +08:00
"onebot/libonebot": "^0.6",
2022-12-25 17:42:32 +08:00
"php-di/php-di": "^7",
2022-04-04 20:51:26 +08:00
"psr/container": "^2.0",
2022-12-31 19:02:41 +08:00
"psr/simple-cache": "^3.0",
2022-08-27 00:53:45 +08:00
"psy/psysh": "^0.11.8",
2022-12-16 17:59:32 +08:00
"symfony/console": "^6.0",
"symfony/polyfill-ctype": "^1.19",
"symfony/polyfill-mbstring": "^1.19",
"symfony/routing": "~6.0 || ~5.0 || ~4.0",
"vlucas/phpdotenv": "^5.5"
},
"require-dev": {
2023-01-05 16:12:24 +08:00
"captainhook/captainhook": "^5.10",
2023-02-18 07:33:02 +08:00
"captainhook/plugin-composer": "^5.3",
"friendsofphp/php-cs-fixer": "^3.2 != 3.7.0",
2022-12-23 20:26:35 +08:00
"jangregor/phpstan-prophecy": "^1.0",
"jetbrains/phpstorm-attributes": "^1.0",
2022-12-23 20:22:43 +08:00
"mikey179/vfsstream": "^1.6",
2025-03-10 11:05:30 +08:00
"phpspec/prophecy-phpunit": "^2.3",
2022-05-15 16:38:37 +08:00
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.1",
2022-05-15 16:38:37 +08:00
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.1",
"phpunit/phpunit": "^8.5 || ^9.0",
"roave/security-advisories": "dev-latest",
"swoole/ide-helper": "^4.5"
},
2022-12-23 17:16:08 +08:00
"replace": {
"symfony/polyfill-php80": "*"
},
"suggest": {
"ext-ctype": "Use C/C++ extension instead of polyfill will be more efficient",
"ext-mbstring": "Use C/C++ extension instead of polyfill will be more efficient",
"ext-pdo_mysql": "If you use mysql in framework, you will need this extension",
"ext-redis": "If you use Redis in framework, you will need this extension",
"league/climate": "Display columns and status in terminal"
},
"minimum-stability": "dev",
2022-12-23 17:16:08 +08:00
"prefer-stable": true,
"autoload": {
"psr-4": {
"ZM\\": "src/ZM"
},
"files": [
"src/Globals/global_functions.php",
2022-08-21 20:15:55 +08:00
"src/Globals/global_defines_app.php",
2022-08-22 15:32:29 +08:00
"src/Globals/global_class_alias.php"
]
},
"autoload-dev": {
"psr-4": {
"Module\\": "src/Module",
2022-03-28 23:42:50 +08:00
"Tests\\": "tests"
}
},
"bin": [
"bin/phpunit-zm",
2023-01-02 23:14:11 +08:00
"bin/zhamao",
"bin/zhamao.bat"
2022-03-28 16:08:28 +08:00
],
"config": {
2022-05-15 16:38:37 +08:00
"allow-plugins": {
2023-02-18 07:33:02 +08:00
"phpstan/extension-installer": true,
"captainhook/plugin-composer": true
2022-12-23 17:16:08 +08:00
},
"optimize-autoloader": true,
"sort-packages": true
},
"extra": {
"zm": {
"exclude-annotation-path": [
2022-03-29 02:05:38 +08:00
"src/ZM",
"tests"
]
}
},
"scripts": {
2022-03-30 22:55:20 +08:00
"analyse": "phpstan analyse --memory-limit 300M",
2025-03-10 11:05:30 +08:00
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix",
2022-08-21 20:15:55 +08:00
"test": "bin/phpunit-zm --no-coverage"
2022-08-11 11:01:15 +08:00
}
}