1 Star 0 Fork 126

飞扬2016/imi

forked from 宇润/imi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
composer.json 6.35 KB
一键复制 编辑 原始数据 按行查看 历史
宇润 提交于 2024-01-19 09:42 . 支持 YurunHttp 5.0 (#672)
{
"name": "imiphp/imi",
"type": "library",
"license": "MulanPSL-2.0",
"description": "imi 是一款支持长连接微服务分布式的 PHP 开发框架,可在 PHP-FPM、Swoole、Workerman 和 RoadRunner 等多种容器环境下运行。它支持 HttpApi、WebSocket、TCP、UDP、MQTT 服务的开发。",
"require": {
"php": ">=7.4",
"ext-json": "*",
"composer-runtime-api": "^2.0",
"monolog/monolog": "^2.2",
"phpdocumentor/reflection-docblock": "^5.2",
"psr/container": "~1.1|~2.0",
"psr/http-message": "~1.0",
"psr/http-server-middleware": "~1.0",
"psr/log": "~1.0|~2.0|~3.0",
"psr/simple-cache": "~1.0|~2.0",
"symfony/console": "^5.1|^6.0",
"symfony/event-dispatcher": "^5.1|^6.0",
"symfony/polyfill-php80": "^1.23",
"symfony/polyfill-php81": "^1.23",
"symfony/polyfill-php82": "^1.26",
"symfony/process": "^5.1|^6.0",
"vlucas/phpdotenv": "~5.3",
"yurunsoft/doctrine-annotations": "^1.73.0"
},
"require-dev": {
"psr/container": "~1.1.0",
"psr/http-message": "~1.0.0",
"psr/http-server-middleware": "~1.0.0",
"psr/log": "~1.0.0",
"psr/simple-cache": "~1.0.0",
"composer/semver": "^3.3.2",
"php-cs-fixer/shim": "~3.17.0",
"phpstan/phpstan": "~1.8.0",
"phpunit/phpunit": "~9.6",
"rector/rector": "~0.13",
"symfony/polyfill-uuid": "^1.27",
"yurunsoft/ide-helper": "~1.0",
"yurunsoft/yurun-http": "~5.0"
},
"replace": {
"symfony/polyfill-php71": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php74": "*"
},
"autoload": {
"psr-4": {
"Imi\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Imi\\Dev\\": "dev/",
"Imi\\Test\\": "tests/unit/",
"Imi\\Test\\Unused\\": [
"tests/unit/unused1",
"tests/unit/unused2"
],
"Test\\": "tests/unit/Component/App"
},
"files": [
"dev/bootstrap.php",
"tests/helper.php"
]
},
"suggest": {
"ext-inotify": "高性能热更新支持",
"ext-pdo": "数据库操作支持",
"symfony/polyfill-uuid": "模型 uuid 发号器依赖",
"ext-uuid": "模型 uuid 发号器依赖"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {
"yurunsoft/ide-helper": true
},
"platform-check": false
},
"bin": [
"src/Cli/bin/imi-cli"
],
"scripts": {
"post-autoload-dump": [
"@composer install-components"
],
"install-components": "Imi\\Dev\\Plugin::dev",
"generate-ide-helper": "Imi\\Dev\\Plugin::IDEHelper",
"test": "@php -dapc.enable_cli=1 vendor/bin/phpunit -c ./tests/phpunit.xml",
"test-coverage": [
"Composer\\Config::disableProcessTimeout",
"./dev/test-coverage.sh"
],
"install-test": "@php --ri swoole && composer install && cd ../ && composer test",
"test-swoole": "@php src/Components/swoole/bin/swoole-phpunit -c src/Components/swoole/tests/phpunit.xml",
"test-workerman": "@php src/Components/workerman/vendor/bin/phpunit -c src/Components/workerman/tests/phpunit.xml",
"test-workerman-gateway-w": "@php src/Components/workerman-gateway/vendor/bin/phpunit -c src/Components/workerman-gateway/tests/phpunit.xml --testsuite workerman",
"test-workerman-gateway-s": "@php src/Components/workerman-gateway/vendor/bin/phpunit -c src/Components/workerman-gateway/tests/phpunit.xml --testsuite swoole",
"test-workerman-gateway": [
"@composer test-workerman-gateway-w",
"@composer test-workerman-gateway-s"
],
"test-roadrunner": "@php src/Components/roadrunner/vendor/bin/phpunit -c src/Components/roadrunner/tests/phpunit.xml",
"test-fpm": "@php src/Components/fpm/vendor/bin/phpunit -c src/Components/fpm/tests/phpunit.xml",
"test-jwt": "@php src/Components/jwt/vendor/bin/phpunit -c src/Components/jwt/tests/phpunit.xml",
"test-queue": "@php src/Components/swoole/bin/swoole-phpunit -c src/Components/queue/tests/phpunit.xml",
"test-amqp": [
"AMQP_TEST_MODE=swoole php src/Components/swoole/bin/swoole-phpunit -c src/Components/amqp/tests/phpunit.xml",
"AMQP_TEST_MODE=workerman php src/Components/swoole/bin/swoole-phpunit -c src/Components/amqp/tests/phpunit.xml"
],
"test-kafka": [
"KAFKA_TEST_MODE=swoole php src/Components/swoole/bin/swoole-phpunit -c src/Components/kafka/tests/phpunit.xml",
"KAFKA_TEST_MODE=workerman php src/Components/swoole/bin/swoole-phpunit -c src/Components/kafka/tests/phpunit.xml"
],
"test-grpc": "@php src/Components/swoole/bin/swoole-phpunit -c src/Components/grpc/tests/phpunit.xml",
"test-snowflake": "@php src/Components/snowflake/vendor/bin/phpunit -c src/Components/snowflake/tests/phpunit.xml",
"test-mqtt": "@php src/Components/swoole/bin/swoole-phpunit -c src/Components/mqtt/tests/phpunit.xml",
"test-smarty": "@php src/Components/smarty/vendor/bin/phpunit -c src/Components/smarty/tests/phpunit.xml",
"test-pgsql": "@php src/Components/swoole/bin/swoole-phpunit -c src/Components/pgsql/tests/phpunit.xml",
"test-phar": "@php src/Components/phar/tests/run-tests.php",
"test-components": [
"@composer test-swoole",
"@composer test-workerman",
"@composer test-workerman-gateway",
"@composer test-fpm",
"@composer test-jwt",
"@composer test-queue",
"@composer test-amqp",
"@composer test-kafka",
"@composer test-grpc",
"@composer test-snowflake",
"@composer test-mqtt",
"@composer test-smarty",
"@composer test-pgsql",
"@composer test-phar"
]
},
"extra": {
"ide-helper": {
"list": [
"redis",
"inotify",
"swoole_postgresql",
"apcu"
]
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/mpxq22/IMI.git
git@gitee.com:mpxq22/IMI.git
mpxq22
IMI
imi
2.1

搜索帮助

0d507c66 1850385 C8b1a773 1850385