-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
69 lines (69 loc) · 2.04 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"$schema": "https://getcomposer.org/schema.json",
"name": "kleinweb/lib",
"type": "library",
"license": "GPL-3.0-or-later",
"description": "The source code for the Klein College standard library",
"homepage": "https://github.com/kleinweb/lib",
"authors": [
{
"name": "Chris Montgomery",
"email": "[email protected]",
"homepage": "https://github.com/montchr"
}
],
"support": {
"issues": "https://github.com/kleinweb/lib/issues"
},
"require": {
"php": "^8.2",
"archtechx/enums": "^1.1",
"league/uri": "^7.0",
"league/uri-components": "^7.0",
"nesbot/carbon": "^3.8",
"roots/acorn": "^5.0",
"symfony/http-foundation": "^7.1",
"webmozart/assert": "^1.11"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.59",
"kleinweb/php-coding-standards": "^0.6.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpstan/phpstan-webmozart-assert": "^1.2",
"roave/security-advisories": "dev-latest",
"slevomat/coding-standard": "^8.15",
"squizlabs/php_codesniffer": "^3.7.1",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true,
"alleyinteractive/composer-wordpress-autoloader": true
},
"lock": false,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Kleinweb\\Lib\\": "src"
},
"files": ["src/helpers.php"]
},
"extra": {},
"scripts": {
"php-cs-fixer": "php-cs-fixer",
"phpstan": "phpstan analyse --memory-limit 2G",
"phpcbf": "phpcbf --extensions=php --standard=$PRJ_ROOT/.phpcs.xml.dist",
"phpcs": "phpcs --extensions=php --standard=$PRJ_ROOT/.phpcs.xml.dist",
"lint": ["@phpcs", "@phpstan"],
"fix": ["@php-cs-fixer fix", "@phpcbf"],
"post-autoload-dump": ["Roots\\Acorn\\ComposerScripts::postAutoloadDump"]
}
}