summaryrefslogtreecommitdiffstats
path: root/composer.json
blob: e1955ae079e21a2d2db0500537092bc439415061 (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
 {
  "name": "sparkpost/sparkpost",
  "description": "Client library for interfacing with the SparkPost API.",
  "license": "Apache 2.0",
  "authors": [
    {
      "name": "SparkPost"
    }
  ],
  "minimum-stability": "stable",
  "scripts": {
    "post-install-cmd": "if [ ! -f 'examples/example-options.json' ]; then echo '{\n\t\"key\":\"YOUR_API_KEY\"\n}' >> examples/example-options.json; fi",
    "post-update-cmd": "if [ ! -f 'examples/example-options.json' ]; then echo '{\n\t\"key\":\"YOUR_API_KEY\"\n}' >> examples/example-options.json; fi",
    "test": "phpunit ./test/unit/",
    "fix-style": "php-cs-fixer fix ."
  },
  "require": {
    "php": ">=5.5.0",
    "php-http/client-implementation": "^1.0",
    "guzzlehttp/psr7": "1.3.*"
  },
  "require-dev": {
    "guzzlehttp/guzzle": "6.*",
    "php-http/guzzle6-adapter": "*",
    "php-http/message": "*",
    "mockery/mockery": "^0.9.4",
    "fabpot/php-cs-fixer": "^1.11"
  },
  "autoload": {
    "psr-4": {
      "SparkPost\\": "lib/SparkPost/",
      "SparkPost\\Test\\TestUtils\\": "test/unit/TestUtils/"
    }
  }
}