summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: a29d483cfa5a47037016a49c227dc91ff090c090 (plain)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
    "name": "ramsey/uuid",
    "type": "library",
    "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).",
    "keywords": [
        "uuid",
        "identifier",
        "guid"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.2 || ^8",
        "ext-json": "*",
        "brick/math": "^0.8 || ^0.9",
        "ramsey/collection": "^1.0",
        "symfony/polyfill-ctype": "^1.8"
    },
    "replace": {
        "rhumsaa/uuid": "self.version"
    },
    "require-dev": {
        "captainhook/captainhook": "^5.10",
        "captainhook/plugin-composer": "^5.3",
        "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
        "doctrine/annotations": "^1.8",
        "ergebnis/composer-normalize": "^2.15",
        "mockery/mockery": "^1.3",
        "moontoast/math": "^1.1",
        "paragonie/random-lib": "^2",
        "php-mock/php-mock": "^2.2",
        "php-mock/php-mock-mockery": "^1.3",
        "php-parallel-lint/php-parallel-lint": "^1.1",
        "phpbench/phpbench": "^1.0",
        "phpstan/extension-installer": "^1.0",
        "phpstan/phpstan": "^0.12",
        "phpstan/phpstan-mockery": "^0.12",
        "phpstan/phpstan-phpunit": "^0.12",
        "phpunit/phpunit": "^8.5 || ^9",
        "slevomat/coding-standard": "^7.0",
        "squizlabs/php_codesniffer": "^3.5",
        "vimeo/psalm": "^4.9"
    },
    "suggest": {
        "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.",
        "ext-ctype": "Enables faster processing of character classification using ctype functions.",
        "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.",
        "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.",
        "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter",
        "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type."
    },
    "config": {
        "sort-packages": true
    },
    "extra": {
        "branch-alias": {
            "dev-main": "4.x-dev"
        },
        "captainhook": {
            "force-install": true
        }
    },
    "autoload": {
        "psr-4": {
            "Ramsey\\Uuid\\": "src/"
        },
        "files": [
            "src/functions.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Ramsey\\Uuid\\Benchmark\\": "tests/benchmark/",
            "Ramsey\\Uuid\\StaticAnalysis\\": "tests/static-analysis/",
            "Ramsey\\Uuid\\Test\\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "analyze": [
            "@phpstan",
            "@psalm"
        ],
        "build:clean": "git clean -fX build/",
        "lint": "parallel-lint src tests",
        "lint:paths": "parallel-lint",
        "phpbench": "phpbench run",
        "phpcbf": "phpcbf -vpw --cache=build/cache/phpcs.cache",
        "phpcs": "phpcs --cache=build/cache/phpcs.cache",
        "phpstan": [
            "phpstan analyse --no-progress",
            "phpstan analyse -c phpstan-tests.neon --no-progress"
        ],
        "phpunit": "phpunit --verbose --colors=always",
        "phpunit-coverage": "phpunit --verbose --colors=always --coverage-html build/coverage",
        "psalm": "psalm --show-info=false --config=psalm.xml",
        "test": [
            "@lint",
            "@phpbench",
            "@phpcs",
            "@phpstan",
            "@psalm",
            "@phpunit"
        ]
    }
}