forked from dereuromark/cakephp-tinyauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
53 lines (53 loc) · 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
49
50
51
52
53
{
"name": "dereuromark/cakephp-tinyauth",
"type": "cakephp-plugin",
"description": "A CakePHP plugin to handle user authentication and authorization the easy way.",
"keywords": ["cakephp", "plugin", "tinyauth", "authentication", "authorization", "roles"],
"homepage": "https://github.com/dereuromark/cakephp-tinyauth",
"license": "MIT",
"authors": [
{
"name": "Mark Scherer",
"homepage": "https://www.dereuromark.de",
"role": "Maintainer"
}
],
"require": {
"php": ">=7.3",
"cakephp/cakephp": "^4.2"
},
"require-dev": {
"cakephp/debug_kit": "^4.2.0",
"cakephp/authentication": "^2.2",
"cakephp/authorization": "^2.0",
"fig-r/psr2r-sniffer": "dev-master",
"composer/semver": "^2.0 || ^3.0",
"phpunit/phpunit": "^9.5"
},
"support": {
"source": "https://github.com/dereuromark/cakephp-tinyauth"
},
"autoload": {
"psr-4": {
"TinyAuth\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TinyAuth\\Test\\": "tests/",
"TestApp\\": "tests/test_app/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
}
},
"prefer-stable": true,
"scripts": {
"test": "phpunit",
"test-coverage" : "phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml",
"stan": "phpstan analyse -c tests/phpstan.neon -l 8 src/",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 && mv composer.backup composer.json",
"cs-check": "phpcs -p --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --ignore=/tests/test_files/,/config/Migrations/ --extensions=php src/ tests/",
"cs-fix": "phpcbf -p --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --ignore=/tests/test_files/,/config/Migrations/ --extensions=php src/ tests/",
"lowest": "validate-prefer-lowest",
"lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json"
}
}