-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
47 lines (47 loc) · 1.56 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
{
"name": "doganoo/simple-rbac",
"description": "Simple leightweight PHP Role Based Access Control library",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Dogan Ucar",
"email": "dogan@dogan-ucar.de"
}
],
"require": {
"ext-json": "*",
"doganoo/php-algorithms": "^2.0",
"laminas/laminas-diactoros": "^2.18",
"mezzio/mezzio": "^3.11",
"laminas/laminas-servicemanager": "^3.16"
},
"conflict": {
"stevebauman/unfinalize": "*"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.28",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^8.0",
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
"psr-4": {
"doganoo\\SimpleRBAC\\": "src/",
"doganoo\\SimpleRBAC\\Test\\": "test/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
}
},
"scripts": {
"add-php-compatibility": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"php-compatibility": "./vendor/bin/phpcs -p . --standard=PHPCompatibility --runtime-set testVersion 7.4-8.1 --extensions=php --ignore=vendor/",
"phpstan": "./vendor/bin/phpstan analyse -c config/phpstan/phpstan.neon src/ test/ --level 9 --memory-limit=2G",
"phpstan-baseline": "./vendor/bin/phpstan analyse -c config/phpstan/phpstan.neon src/ test/ --level 9 --memory-limit=2G --generate-baseline config/phpstan/baseline.neon",
"test": "./vendor/bin/phpunit --configuration phpunit.xml --verbose"
}
}