-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
48 lines (48 loc) · 1.2 KB
/
composer.json
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
{
"name": "phramework/validate",
"description": "phramework's validation library",
"license": "Apache-2.0",
"homepage": "https://phramework.github.io/",
"type": "library",
"authors": [{
"name": "Xenofon Spafaridis",
"email": "[email protected]",
"homepage": "https://nohponex.gr"
}],
"autoload": {
"psr-4": {
"Phramework\\Validate\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Phramework\\Validate\\APP\\": "tests/APP/"
}
},
"require": {
"php": "^7.2|^8.0.0",
"ext-json": "*",
"phramework/exceptions": "^1.0.0"
},
"require-dev": {
"phpunit/phpunit": "^7.5.10",
"squizlabs/php_codesniffer": "^3.4.2",
"codacy/coverage": "^1.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"archive": {
"exclude": ["tests"]
},
"scripts": {
"test": [
"find src/ -name '*.php' -print0 | xargs -0 -L 1 php -l",
"find tests/ -name '*.php' -print0 | xargs -0 -L 1 php -l",
"phpunit; start=\"file://\";end=\"build/coverage/index.html\"; echo \"\nOpen $start$(pwd)/$end\" in browser..."
],
"lint": "phpcs -p -s --standard=PSR2 ./src",
"doc": [
"echo phpdoc is not yet configured"
]
}
}