mqtt-server-incubator/composer.json
2022-08-11 18:50:19 +08:00

56 lines
1.3 KiB
JSON

{
"name": "zyimm/mqtt-server-incubator",
"type": "library",
"license": "MIT",
"keywords": [
"php",
"hyperf",
"mqtt"
],
"description": "MQTT Server for Hyperf",
"autoload": {
"psr-4": {
"Zyimm\\MqttServer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ZyimmTest\\MqttServer\\": "tests"
}
},
"require": {
"php": ">=8.0",
"hyperf/contract": "~2.2",
"hyperf/di": "~2.2",
"hyperf/http-server": "~2.2",
"hyperf/utils": "~2.2",
"simps/mqtt": "^1.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": ">=7.0",
"swoole/ide-helper": "^4.8"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"test": "phpunit -c phpunit.xml --colors=always",
"analyse": "phpstan analyse --memory-limit 1024M -l 0 ./src",
"cs-fix": "php-cs-fixer fix $1"
},
"extra": {
"branch-alias": {
"dev-main": "0.3-dev"
},
"hyperf": {
"config": "Zyimm\\MqttServer\\ConfigProvider"
}
}
}