composer.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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": "^7.1 || ^8.0",
  15. "php-http/httplug": "^2.0",
  16. "php-http/message": "^1.6",
  17. "php-http/message-factory": "^1.0",
  18. "psr/http-client": "^1.0",
  19. "psr/http-factory": "^1.0",
  20. "psr/http-message": "^1.0",
  21. "symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0",
  22. "symfony/polyfill-php80": "^1.17"
  23. },
  24. "require-dev": {
  25. "doctrine/instantiator": "^1.1",
  26. "guzzlehttp/psr7": "^1.4",
  27. "nyholm/psr7": "^1.2",
  28. "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1",
  29. "phpspec/prophecy": "^1.10.2",
  30. "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3"
  31. },
  32. "suggest": {
  33. "ext-json": "To detect JSON responses with the ContentTypePlugin",
  34. "ext-libxml": "To detect XML responses with the ContentTypePlugin",
  35. "php-http/logger-plugin": "PSR-3 Logger plugin",
  36. "php-http/cache-plugin": "PSR-6 Cache plugin",
  37. "php-http/stopwatch-plugin": "Symfony Stopwatch plugin"
  38. },
  39. "autoload": {
  40. "psr-4": {
  41. "Http\\Client\\Common\\": "src/"
  42. }
  43. },
  44. "autoload-dev": {
  45. "psr-4": {
  46. "spec\\Http\\Client\\Common\\": "spec/"
  47. }
  48. },
  49. "scripts": {
  50. "test": [
  51. "vendor/bin/phpspec run",
  52. "vendor/bin/phpunit"
  53. ],
  54. "test-ci": [
  55. "vendor/bin/phpspec run -c phpspec.ci.yml",
  56. "vendor/bin/phpunit"
  57. ]
  58. },
  59. "config": {
  60. "sort-packages": true
  61. },
  62. "extra": {
  63. "branch-alias": {
  64. "dev-master": "2.3.x-dev"
  65. }
  66. }
  67. }