summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: cd72e2520c759c7bbb88d58c5048ef6d785c6cf7 (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
{
  "name": "zendframework/zend-diactoros",
  "description": "PSR HTTP Message implementations",
  "type": "library",
  "license": "BSD-2-Clause",
  "keywords": [
    "http",
    "psr",
    "psr-7"
  ],
  "homepage": "https://github.com/zendframework/zend-diactoros",
  "support": {
    "issues": "https://github.com/zendframework/zend-diactoros/issues",
    "source": "https://github.com/zendframework/zend-diactoros"
  },
  "config": {
      "sort-packages": true
  },
  "extra": {
    "branch-alias": {
      "dev-release-1.8": "1.8.x-dev"
    }
  },
  "require": {
    "php": "^5.6 || ^7.0",
    "psr/http-message": "^1.0"
  },
  "require-dev": {
    "ext-dom": "*",
    "ext-libxml": "*",
    "php-http/psr7-integration-tests": "dev-master",
    "phpunit/phpunit": "^5.7.16 || ^6.0.8 || ^7.2.7",
    "zendframework/zend-coding-standard": "~1.0"
  },
  "provide": {
    "psr/http-message-implementation": "1.0"
  },
  "autoload": {
    "files": [
        "src/functions/create_uploaded_file.php",
        "src/functions/marshal_headers_from_sapi.php",
        "src/functions/marshal_method_from_sapi.php",
        "src/functions/marshal_protocol_version_from_sapi.php",
        "src/functions/marshal_uri_from_sapi.php",
        "src/functions/normalize_server.php",
        "src/functions/normalize_uploaded_files.php",
        "src/functions/parse_cookie_header.php"
    ],
    "psr-4": {
      "Zend\\Diactoros\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "ZendTest\\Diactoros\\": "test/"
    },
    "files": [
      "test/TestAsset/Functions.php",
      "test/TestAsset/SapiResponse.php"
    ]
  },
  "scripts": {
    "check": [
      "@cs-check",
      "@test"
    ],
    "cs-check": "phpcs",
    "cs-fix": "phpcbf",
    "test": "phpunit --colors=always",
    "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
  }
}