summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: 164457484fc70f8141130b254051c87042a6afcc (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
{
  "name": "zendframework/zend-stratigility",
  "description": "Middleware for PHP",
  "type": "library",
  "license": "BSD-3-Clause",
  "keywords": [
    "http",
    "psr-7",
    "middleware",
    "zf",
    "zendframework"
  ],
  "homepage": "https://github.com/zendframework/zend-stratigility",
  "support": {
    "docs": "https://docs.zendframework.com/zend-stratigility/",
    "issues": "https://github.com/zendframework/zend-stratigility/issues",
    "source": "https://github.com/zendframework/zend-stratigility",
    "rss": "https://github.com/zendframework/zend-stratigility/releases.atom",
    "slack": "https://zendframework-slack.herokuapp.com",
    "forum": "https://discourse.zendframework.com/c/questions/expressive"
  },
  "extra": {
    "branch-alias": {
      "dev-master": "2.2.x-dev",
      "dev-develop": "3.0.x-dev"
    }
  },
  "config": {
    "sort-packages": true
  },
  "require": {
    "php": "^5.6 || ^7.0",
    "psr/http-message": "^1.0",
    "webimpress/http-middleware-compatibility": "^0.1.4",
    "zendframework/zend-escaper": "^2.3"
  },
  "require-dev": {
    "malukenho/docheader": "^0.1.5",
    "phpunit/phpunit": "^5.7.22 || ^6.4.1",
    "zendframework/zend-coding-standard": "~1.0.0",
    "zendframework/zend-diactoros": "^1.0"
  },
  "suggest": {
    "psr/http-message-implementation": "Please install a psr/http-message-implementation to consume Stratigility; e.g., zendframework/zend-diactoros"
  },
  "autoload": {
    "files": [
      "src/functions/double-pass-middleware.php",
      "src/functions/middleware.php",
      "src/functions/path.php"
    ],
    "psr-4": {
      "Zend\\Stratigility\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "ZendTest\\Stratigility\\": "test/"
    }
  },
  "scripts": {
    "check": [
      "@license-check",
      "@cs-check",
      "@test"
    ],
    "cs-check": "phpcs",
    "cs-fix": "phpcbf",
    "license-check": "docheader check src/ test/",
    "test": "phpunit --colors=always",
    "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
  }
}