-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
65 lines (65 loc) · 1.76 KB
/
composer.json
File metadata and controls
65 lines (65 loc) · 1.76 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
{
"name": "josbeir/sugar",
"description": "A fun and safe PHP templating engine",
"license": "MIT",
"keywords": [
"templating",
"template",
"template-engine",
"php",
"security",
"xss-protection",
"auto-escaping",
"context-aware",
"compiler",
"performance",
"directives"
],
"autoload": {
"psr-4": {
"Sugar\\": "src/"
},
"files": [
"src/Core/Runtime/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Sugar\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Jasper Smet",
"email": "josbeir@gmail.com"
}
],
"require": {
"php": ">=8.2",
"psr/simple-cache": "^3.0"
},
"suggest": {
"nikic/php-parser": "Optional: validates generated PHP during compilation and improves syntax diagnostics."
},
"require-dev": {
"phpunit/phpunit": "^11.1.3 || ^12.0 || ^13.0",
"cakephp/cakephp-codesniffer": "^5.3",
"rector/rector": "^2.3",
"phpstan/phpstan": "^2.1",
"nikic/php-parser": "^5.7"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"test": "phpunit --colors=always",
"test-coverage": "export XDEBUG_MODE=coverage; phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml",
"phpstan": "phpstan analyse",
"cs-check": "phpcs --colors -p -s",
"cs-fix": "phpcbf --colors -p -s",
"rector-check": "rector --dry-run --ansi",
"rector-fix": "rector --ansi"
}
}