-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
50 lines (50 loc) · 1.24 KB
/
composer.json
File metadata and controls
50 lines (50 loc) · 1.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
{
"name": "millipress/millirules",
"description": "A declarative rule engine for PHP that turns complex conditional logic into readable when-then rules. Features a fluent builder API, lazy-loaded context for performance, smart operator inference, and works seamlessly in pure PHP or WordPress.",
"type": "library",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Philipp Wellmer",
"email": "hello@millipress.com"
}
],
"require": {
"php": ">=7.4",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"pestphp/pest": "^2.0",
"squizlabs/php_codesniffer": "^3.7",
"phpstan/phpstan": "^1.10",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"autoload": {
"psr-4": {
"MilliRules\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MilliRules\\Tests\\": "tests/"
}
},
"scripts": {
"test": [
"@test:unit",
"@test:phpstan"
],
"test:unit": "pest",
"test:phpstan": "phpstan --memory-limit=512M",
"lint": "phpcs --standard=PSR12 src tests",
"fix": "phpcbf --standard=PSR12 src tests"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}