-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
51 lines (51 loc) · 1.55 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
49
50
51
{
"name": "phramework/database",
"description": "phramework's database 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\\Database\\": "src/"
}
},
"require": {
"php": ">=5.6",
"ext-json": "*",
"phramework/exceptions": "0.*"
},
"require-dev": {
"phpunit/phpunit": "5.*",
"squizlabs/php_codesniffer": "*",
"apigen/apigen": "^4.1",
"satooshi/php-coveralls": "dev-master",
"codacy/coverage": "^1.0"
},
"suggest": {
"ext-pdo": "Required when database is used",
"ext-pdo_pgsql": "Required when PostgreSQL database is used",
"ext-pdo_mysql": "Required when MySQL or MariaDB database is used"
},
"minimum-stability": "dev",
"prefer-stable": true,
"archive": {
"exclude": ["tests/"]
},
"scripts": {
"doc": [
"apigen generate -s ./src -d ./doc --template-theme bootstrap --todo --tree --deprecated --no-source-code --title \"phramework/database\"",
"start=\"file://\";end=\"doc/index.html\"; echo \"\nOpen $start$(pwd)/$end\" in browser..."
],
"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"
}
}