composer.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "php-http/client-common",
  3. "description": "Common HTTP Client implementations and tools for HTTPlug",
  4. "license": "MIT",
  5. "keywords": ["http", "client", "httplug", "common"],
  6. "homepage": "http://httplug.io",
  7. "authors": [
  8. {
  9. "name": "Márk Sági-Kazár",
  10. "email": "mark.sagikazar@gmail.com"
  11. }
  12. ],
  13. "require": {
  14. "php": "^5.4 || ^7.0",
  15. "php-http/httplug": "^1.1",
  16. "php-http/message-factory": "^1.0",
  17. "php-http/message": "^1.6",
  18. "symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
  19. },
  20. "require-dev": {
  21. "phpspec/phpspec": "^2.5 || ^3.4 || ^4.2",
  22. "guzzlehttp/psr7": "^1.4"
  23. },
  24. "suggest": {
  25. "php-http/logger-plugin": "PSR-3 Logger plugin",
  26. "php-http/cache-plugin": "PSR-6 Cache plugin",
  27. "php-http/stopwatch-plugin": "Symfony Stopwatch plugin"
  28. },
  29. "autoload": {
  30. "psr-4": {
  31. "Http\\Client\\Common\\": "src/"
  32. }
  33. },
  34. "scripts": {
  35. "test": "vendor/bin/phpspec run",
  36. "test-ci": "vendor/bin/phpspec run -c phpspec.ci.yml"
  37. },
  38. "extra": {
  39. "branch-alias": {
  40. "dev-master": "1.9.x-dev"
  41. }
  42. }
  43. }