mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
Adjust composer.json for scout. (#2606)
* Adjust composer.json for scout. * Update composer.json
This commit is contained in:
parent
f3690648b4
commit
68ae3c38bc
@ -7,6 +7,23 @@
|
||||
"hyperf"
|
||||
],
|
||||
"description": "Hyperf Scout provides a driver based solution to searching your Eloquent models. Inspired By Laravel Scout.",
|
||||
"require": {
|
||||
"php": ">=7.2",
|
||||
"ext-swoole": ">=4.4",
|
||||
"hyperf/command": "~2.0.0",
|
||||
"hyperf/contract": "~2.0.0",
|
||||
"hyperf/database": "~2.0.0",
|
||||
"hyperf/event": "~2.0.0",
|
||||
"hyperf/model-listener": "~2.0.0",
|
||||
"hyperf/utils": "~2.0.0",
|
||||
"psr/event-dispatcher": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.14"
|
||||
},
|
||||
"suggest": {
|
||||
"hyperf/elasticsearch": "Required to use elasticsearch driver."
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Hyperf\\Scout\\": "src/"
|
||||
@ -17,34 +34,20 @@
|
||||
"HyperfTest\\Scout\\": "tests/"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.2",
|
||||
"ext-swoole": ">=4.4",
|
||||
"psr/event-dispatcher": "^1.0",
|
||||
"hyperf/contract": "~2.0.0",
|
||||
"hyperf/utils": "~2.0.0",
|
||||
"hyperf/database": "~2.0.0",
|
||||
"hyperf/model-listener": "~2.0.0",
|
||||
"hyperf/event": "~2.0.0",
|
||||
"hyperf/command": "~2.0.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.14"
|
||||
},
|
||||
"suggest": {
|
||||
"hyperf/elasticsearch": "Required to use elasticsearch driver."
|
||||
},
|
||||
"config": {
|
||||
"sort-packages": true
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.0-dev"
|
||||
},
|
||||
"hyperf": {
|
||||
"config": "Hyperf\\Scout\\ConfigProvider"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "co-phpunit -c phpunit.xml --colors=always",
|
||||
"analyze": "phpstan analyse --memory-limit 300M -l 0 ./src",
|
||||
"cs-fix": "php-cs-fixer fix $1"
|
||||
},
|
||||
"extra": {
|
||||
"hyperf": {
|
||||
"config": "Hyperf\\Scout\\ConfigProvider"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user