-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathcomposer.json
More file actions
63 lines (63 loc) · 2.24 KB
/
composer.json
File metadata and controls
63 lines (63 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "cakephp/elastic-search",
"description": "An Elastic Search datasource and data mapper for CakePHP",
"type": "cakephp-plugin",
"keywords": ["cakephp", "elasticsearch"],
"homepage": "https://github.com/cakephp/elastic-search",
"license": "MIT",
"authors": [
{
"name": "CakePHP Community",
"homepage": "https://github.com/cakephp/elastic-search/graphs/contributors"
}
],
"support": {
"issues": "https://github.com/cakephp/elastic-search/issues",
"forum": "https://stackoverflow.com/tags/cakephp",
"irc": "irc://irc.freenode.org/cakephp",
"source": "https://github.com/cakephp/elastic-search"
},
"require": {
"cakephp/cakephp": "^5.2.0",
"ruflin/elastica": "^9.0"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^5.0",
"phpunit/phpunit": "^10.5.5 || ^11.5.3 || ^12.1.3",
"nyholm/psr7": "^1.8"
},
"autoload": {
"psr-4": {
"Cake\\ElasticSearch\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Cake\\ElasticSearch\\Test\\": "tests",
"TestApp\\": "tests/testapp/TestApp/src/",
"TestPlugin\\": "tests/testapp/Plugin/TestPlugin/src",
"TestPluginTwo\\": "tests/testapp/Plugin/TestPluginTwo/src"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true
}
},
"scripts": {
"check": [
"@test",
"@cs-check"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --coverage-clover=clover.xml",
"phpstan": "vendor/bin/phpstan analyse",
"phpstan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^2.0 --no-update && composer update && mv composer.backup composer.json",
"rector-setup": "cp composer.json composer.backup && composer require --dev rector/rector:\"^2.2\" && mv composer.backup composer.json",
"rector-check": "vendor/bin/rector process --dry-run",
"rector-fix": "vendor/bin/rector process"
}
}