-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathcomposer.json
More file actions
64 lines (64 loc) · 2.97 KB
/
Copy pathcomposer.json
File metadata and controls
64 lines (64 loc) · 2.97 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
{
"name": "stefangabos/zebra_database",
"type": "library",
"description": "An advanced, compact and lightweight MySQL database wrapper library, built around PHP's MySQLi extension.",
"keywords": ["mysqli", "mysql", "database", "wrapper", "php", "secure", "debugging", "caching", "sql-injection-prevention", "developer-tools", "database-security", "mysql-wrapper", "php-database"],
"homepage": "https://github.com/stefangabos/Zebra_Database",
"license": "LGPL-3.0-or-later",
"authors": [
{
"name": "Stefan Gabos",
"email": "contact@stefangabos.ro",
"homepage": "https://github.com/stefangabos",
"role": "Developer"
}
],
"require": {
"php": ">=7.4.0",
"ext-mysqli": "*"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.10"
},
"autoload": {
"classmap": [
"Zebra_Database.php"
]
},
"autoload-dev": {
"classmap": [
"tests/Support/"
]
},
"scripts": {
"test": "phpunit -c tests",
"test-coverage": "phpunit -c tests --coverage-html tests/coverage-html",
"check-compat": "phpcs -p --standard=tests/php-compatibility.xml --runtime-set ignore_warnings_on_exit 1",
"check-compat-legacy": "phpcs -p --standard=tests/php-compatibility.xml --runtime-set testVersion 5.5- --runtime-set ignore_warnings_on_exit 1",
"check-style": "phpcs -p --standard=coding-standards.xml --runtime-set ignore_warnings_on_exit 1",
"fix-style": "phpcbf -p --standard=coding-standards.xml",
"analyse": "phpstan analyse --no-progress"
},
"scripts-descriptions": {
"test": "Runs the test suite",
"test-coverage": "Runs the test suite and writes an HTML coverage report to tests/coverage-html",
"check-compat": "Checks the library against the supported PHP versions (7.4 and up) - see tests/php-compatibility.xml, where the file to check and the reason for each excluded sniff are kept together",
"check-compat-legacy": "Checks the library against PHP 5.5 and up - the versions it still runs on but that are too old to test against. Uses the same ruleset, overriding only the version to check against",
"check-style": "Checks the library against the coding standard - see coding-standards.xml",
"fix-style": "Fixes what the coding standard check can fix on its own. Look at the diff afterwards - a lot of what it touches is deliberate",
"analyse": "Runs static analysis over the library and the test suite - see phpstan.neon"
},
"config": {
"sort-packages": true,
"platform": {
"php": "7.4.0"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}