composer.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "php-http/discovery",
  3. "description": "Finds installed HTTPlug implementations and PSR-7 message factories",
  4. "license": "MIT",
  5. "keywords": ["http", "discovery", "client", "adapter", "message", "factory", "psr7"],
  6. "homepage": "http://php-http.org",
  7. "authors": [
  8. {
  9. "name": "Márk Sági-Kazár",
  10. "email": "mark.sagikazar@gmail.com"
  11. }
  12. ],
  13. "require": {
  14. "php": "^7.1"
  15. },
  16. "require-dev": {
  17. "php-http/httplug": "^1.0 || ^2.0",
  18. "php-http/message-factory": "^1.0",
  19. "puli/composer-plugin": "1.0.0-beta10",
  20. "phpspec/phpspec": "^5.1",
  21. "akeneo/phpspec-skip-example-extension": "^4.0"
  22. },
  23. "suggest": {
  24. "puli/composer-plugin": "Sets up Puli which is recommended for Discovery to work. Check http://docs.php-http.org/en/latest/discovery.html for more details.",
  25. "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories"
  26. },
  27. "autoload": {
  28. "psr-4": {
  29. "Http\\Discovery\\": "src/"
  30. }
  31. },
  32. "autoload-dev": {
  33. "psr-4": {
  34. "spec\\Http\\Discovery\\": "spec/"
  35. }
  36. },
  37. "scripts": {
  38. "test": "vendor/bin/phpspec run",
  39. "test-ci": "vendor/bin/phpspec run -c phpspec.ci.yml"
  40. },
  41. "extra": {
  42. "branch-alias": {
  43. "dev-master": "1.7-dev"
  44. }
  45. },
  46. "conflict": {
  47. "nyholm/psr7": "<1.0"
  48. },
  49. "prefer-stable": true,
  50. "minimum-stability": "beta"
  51. }