50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"name": "zyimm/hyperf-captcha",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Zyimm\\Captcha\\": "src/"
|
|
}
|
|
},
|
|
"authors": [
|
|
{
|
|
"name": "zhouyangyang",
|
|
"email": "zhouyangyang@hoge.cn"
|
|
}
|
|
],
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"HyperfTest\\": "tests"
|
|
}
|
|
},
|
|
"require": {
|
|
"php": ">=7.3",
|
|
"ext-fileinfo": "*",
|
|
"ext-imagick": "*",
|
|
"ext-swoole": ">=4.5",
|
|
"hyperf-ext/encryption": "~2.2.0",
|
|
"hyperf/cache": "~2.2.0",
|
|
"hyperf/di": "~2.2.0",
|
|
"hyperf/framework": "~2.2.0",
|
|
"hyperf/validation": "~2.2.0"
|
|
},
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "^3.0",
|
|
"hyperf/testing": "~2.2.0",
|
|
"phpstan/phpstan": "^0.12",
|
|
"swoole/ide-helper": "dev-master"
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"scripts": {
|
|
"test": "co-phpunit --prepend tests/bootstrap.php -c phpunit.xml --colors=always",
|
|
"analyse": "phpstan analyse --memory-limit 1024M -l 0 ./src",
|
|
"cs-fix": "php-cs-fixer fix $1"
|
|
},
|
|
"extra": {
|
|
"hyperf": {
|
|
"config": "HyperfExt\\Captcha\\ConfigProvider"
|
|
}
|
|
}
|
|
}
|