-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathcomposer.json
62 lines (62 loc) · 1.54 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
{
"name": "hidehalo/nanoid-php",
"type": "library",
"description": "A copy of nanoid in PHP",
"keywords": [
"hidehalo",
"nanoid-php"
],
"homepage": "https://github.com/hidehalo/nanoid-php",
"license": "MIT",
"authors": [
{
"name": "hidehalo",
"email": "tianchen_cc@yeah.net",
"homepage": "https://github.com/hidehalo",
"role": "Owner"
}
],
"require": {
"php": "~7.1|~8.0",
"paragonie/random_compat": ">=2.0"
},
"require-dev": {
"phpunit/phpunit" : ">=5.6",
"squizlabs/php_codesniffer": "^2.3"
},
"archive": {
"exclude": [
"tests/",
"benchmark/",
"examples/",
".gitignore",
".editorconfig",
"*.md",
"*.yml",
"*.xml"
]
},
"autoload": {
"psr-4": {
"Hidehalo\\Nanoid\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Hidehalo\\Nanoid\\Test\\": "tests"
}
},
"scripts": {
"test": "phpunit",
"check-style": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"fix-style": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"config": {
"sort-packages": true
}
}