1{
2    "name": "hidehalo/nanoid-php",
3    "type": "library",
4    "description": "A copy of nanoid in PHP",
5    "keywords": [
6        "hidehalo",
7        "nanoid-php"
8    ],
9    "homepage": "https://github.com/hidehalo/nanoid-php",
10    "license": "MIT",
11    "authors": [
12        {
13            "name": "hidehalo",
14            "email": "tianchen_cc@yeah.net",
15            "homepage": "https://github.com/hidehalo",
16            "role": "Owner"
17        }
18    ],
19    "require": {
20        "php": "~5.6|~7.0|~8.0",
21        "paragonie/random_compat": ">=2.0"
22    },
23    "require-dev": {
24        "phpunit/phpunit" : ">=5.6",
25        "squizlabs/php_codesniffer": "^2.3"
26    },
27    "archive": {
28        "exclude": [
29            "tests/",
30            "benchmark/",
31            "examples/",
32            ".gitignore",
33            ".editorconfig",
34            "*.md",
35            "*.yml",
36            "*.xml"
37        ]
38    },
39    "autoload": {
40        "psr-4": {
41            "Hidehalo\\Nanoid\\": "src"
42        }
43    },
44    "autoload-dev": {
45        "psr-4": {
46            "Hidehalo\\Nanoid\\Test\\": "tests"
47        }
48    },
49    "scripts": {
50        "test": "phpunit",
51        "check-style": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
52        "fix-style": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
53    },
54    "extra": {
55        "branch-alias": {
56            "dev-master": "1.0-dev"
57        }
58    },
59    "config": {
60        "sort-packages": true
61    }
62}
63