summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 15d19628e4cbdfb8d18565a16d2463e8595cff39 (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
{
    "name": "zendframework/zend-json",
    "description": "provides convenience methods for serializing native PHP to JSON and decoding JSON to native PHP",
    "license": "BSD-3-Clause",
    "keywords": [
        "zf2",
        "json"
    ],
    "homepage": "https://github.com/zendframework/zend-json",
    "extra": {
        "branch-alias": {
            "dev-master": "3.0-dev",
            "dev-develop": "3.1-dev"
        }
    },
    "require": {
        "php": "^5.5 || ^7.0"
    },
    "require-dev": {
        "zendframework/zend-stdlib": "^2.7 || ^3.0",
        "squizlabs/php_codesniffer": "^2.3",
        "phpunit/PHPUnit": "~4.0"
    },
    "suggest": {
        "zendframework/zend-json-server": "For implementing JSON-RPC servers",
        "zendframework/zend-xml2json": "For converting XML documents to JSON"
    },
    "autoload": {
        "psr-4": {
            "Zend\\Json\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "ZendTest\\Json\\": "test/"
        }
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@test"
        ],
        "upload-coverage": "coveralls",
        "cs-check": "phpcs",
        "cs-fix": "phpcbf fix -v",
        "test": "phpunit",
        "test-coverage": "phpunit --coverage-clover clover.xml"
    }
}