|
1 | 1 | {
|
2 | 2 | "name": "cakephp/authentication",
|
3 | 3 | "description": "Authentication plugin for CakePHP",
|
| 4 | + "license": "MIT", |
| 5 | + "type": "cakephp-plugin", |
4 | 6 | "keywords": [
|
5 | 7 | "auth",
|
6 | 8 | "authentication",
|
7 | 9 | "cakephp",
|
8 | 10 | "middleware"
|
9 | 11 | ],
|
10 |
| - "type": "cakephp-plugin", |
| 12 | + "authors": [ |
| 13 | + { |
| 14 | + "name": "CakePHP Community", |
| 15 | + "homepage": "https://github.com/cakephp/authentication/graphs/contributors" |
| 16 | + } |
| 17 | + ], |
11 | 18 | "homepage": "https://cakephp.org",
|
| 19 | + "support": { |
| 20 | + "issues": "https://github.com/cakephp/authentication/issues", |
| 21 | + "forum": "https://stackoverflow.com/tags/cakephp", |
| 22 | + "irc": "irc://irc.freenode.org/cakephp", |
| 23 | + "source": "https://github.com/cakephp/authentication", |
| 24 | + "docs": "https://book.cakephp.org/authentication/2/en/" |
| 25 | + }, |
12 | 26 | "require": {
|
13 | 27 | "cakephp/http": "^5.0",
|
14 | 28 | "laminas/laminas-diactoros": "^3.0",
|
|
24 | 38 | "phpunit/phpunit": "^10.1.0"
|
25 | 39 | },
|
26 | 40 | "suggest": {
|
27 |
| - "cakephp/orm": "To use \"OrmResolver\" (Not needed separately if using full CakePHP framework).", |
28 |
| - "cakephp/cakephp": "Install full core to use \"CookieAuthenticator\".", |
29 |
| - "firebase/php-jwt": "If you want to use the JWT adapter add this dependency", |
30 | 41 | "ext-ldap": "Make sure this php extension is installed and enabled on your system if you want to use the built-in LDAP adapter for \"LdapIdentifier\".",
|
31 |
| - "cakephp/utility": "Provides CakePHP security methods. Required for the JWT adapter and Legacy password hasher." |
| 42 | + "cakephp/cakephp": "Install full core to use \"CookieAuthenticator\".", |
| 43 | + "cakephp/orm": "To use \"OrmResolver\" (Not needed separately if using full CakePHP framework).", |
| 44 | + "cakephp/utility": "Provides CakePHP security methods. Required for the JWT adapter and Legacy password hasher.", |
| 45 | + "firebase/php-jwt": "If you want to use the JWT adapter add this dependency" |
32 | 46 | },
|
33 |
| - "license": "MIT", |
34 | 47 | "autoload": {
|
35 | 48 | "psr-4": {
|
36 | 49 | "Authentication\\": "src/"
|
|
44 | 57 | "TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src/"
|
45 | 58 | }
|
46 | 59 | },
|
47 |
| - "authors": [ |
48 |
| - { |
49 |
| - "name": "CakePHP Community", |
50 |
| - "homepage": "https://github.com/cakephp/authentication/graphs/contributors" |
51 |
| - } |
52 |
| - ], |
53 |
| - "support": { |
54 |
| - "issues": "https://github.com/cakephp/authentication/issues", |
55 |
| - "forum": "https://stackoverflow.com/tags/cakephp", |
56 |
| - "irc": "irc://irc.freenode.org/cakephp", |
57 |
| - "source": "https://github.com/cakephp/authentication", |
58 |
| - "docs": "https://book.cakephp.org/authentication/2/en/" |
| 60 | + "config": { |
| 61 | + "allow-plugins": { |
| 62 | + "dealerdirect/phpcodesniffer-composer-installer": true |
| 63 | + }, |
| 64 | + "sort-packages": true |
59 | 65 | },
|
60 | 66 | "scripts": {
|
61 | 67 | "check": [
|
|
66 | 72 | "cs-fix": "phpcbf --colors -p src/ tests/",
|
67 | 73 | "phpstan": "tools/phpstan analyse",
|
68 | 74 | "psalm": "tools/psalm --show-info=false",
|
| 75 | + "psalm-baseline": "tools/psalm --set-baseline=psalm-baseline.xml", |
69 | 76 | "stan": [
|
70 | 77 | "@phpstan",
|
71 | 78 | "@psalm"
|
72 | 79 | ],
|
73 | 80 | "stan-baseline": "tools/phpstan --generate-baseline",
|
74 |
| - "psalm-baseline": "tools/psalm --set-baseline=psalm-baseline.xml", |
75 | 81 | "stan-setup": "phive install",
|
76 | 82 | "test": "phpunit",
|
77 | 83 | "test-coverage": "phpunit --coverage-clover=clover.xml"
|
78 |
| - }, |
79 |
| - "config": { |
80 |
| - "sort-packages": true, |
81 |
| - "allow-plugins": { |
82 |
| - "dealerdirect/phpcodesniffer-composer-installer": true |
83 |
| - } |
84 | 84 | }
|
85 | 85 | }
|
0 commit comments