-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
119 lines (119 loc) · 3.17 KB
/
composer.json
File metadata and controls
119 lines (119 loc) · 3.17 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "silverassist/contact-form-to-api",
"description": "WordPress plugin to integrate Contact Form 7 with external APIs",
"type": "wordpress-plugin",
"license": "Polyform-Noncommercial-1.0.0",
"authors": [
{
"name": "Silver Assist",
"email": "info@silverassist.com",
"homepage": "https://silverassist.com"
}
],
"keywords": [
"wordpress",
"plugin",
"contact-form-7",
"api",
"integration",
"forms",
"webhook",
"rest-api"
],
"homepage": "https://github.com/SilverAssist/contact-form-to-api",
"support": {
"issues": "https://github.com/SilverAssist/contact-form-to-api/issues",
"source": "https://github.com/SilverAssist/contact-form-to-api",
"docs": "https://github.com/SilverAssist/contact-form-to-api/wiki"
},
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=8.2",
"composer/installers": "^2.3",
"silverassist/wp-github-updater": "^1.3",
"silverassist/wp-settings-hub": "^1.2"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"miguelcolmenares/cf7-stubs": "^6.1",
"php-stubs/wordpress-stubs": "^6.6",
"php-stubs/wordpress-tests-stubs": "^6.6",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7 || ^4.0",
"szepeviktor/phpstan-wordpress": "^1.3 || ^2.0",
"wp-coding-standards/wpcs": "^3.0",
"yoast/phpunit-polyfills": "^4.0"
},
"autoload": {
"psr-4": {
"SilverAssist\\ContactFormToAPI\\": "includes/"
},
"files": []
},
"autoload-dev": {
"psr-4": {
"SilverAssist\\ContactFormToAPI\\Tests\\": "tests/"
}
},
"scripts": {
"lint": [
"phpcs --standard=WordPress --extensions=php --ignore=vendor/,node_modules/,tests/ ."
],
"lint:fix": [
"phpcbf --standard=WordPress --extensions=php --ignore=vendor/,node_modules/,tests/ ."
],
"phpcs": "phpcs",
"phpcbf": "phpcbf",
"phpstan": "phpstan analyse includes/ --level=8",
"test": [
"phpunit"
],
"test:coverage": [
"phpunit --coverage-html coverage"
],
"check": [
"@phpcs",
"@phpstan",
"@test"
],
"composer-validate": [
"composer validate --strict --no-check-all"
],
"install:dev": [
"composer install --dev --optimize-autoloader"
],
"install:prod": [
"composer install --no-dev --optimize-autoloader"
]
},
"scripts-descriptions": {
"lint": "Run PHP CodeSniffer with WordPress coding standards",
"lint:fix": "Fix PHP CodeSniffer issues automatically",
"phpcs": "Run PHP CodeSniffer",
"phpcbf": "Fix PHP CodeSniffer issues automatically",
"phpstan": "Run PHPStan static analysis",
"test": "Run PHPUnit tests",
"test:coverage": "Run PHPUnit tests with coverage report",
"check": "Run all quality checks (phpcs, phpstan, test)",
"composer-validate": "Validate composer.json",
"install:dev": "Install dependencies for development",
"install:prod": "Install dependencies for production"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.2"
}
},
"extra": {
"installer-name": "contact-form-to-api"
}
}