composer.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "php-http/discovery",
  3. "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations",
  4. "type": "composer-plugin",
  5. "license": "MIT",
  6. "keywords": ["http", "discovery", "client", "adapter", "message", "factory", "psr7", "psr17"],
  7. "homepage": "http://php-http.org",
  8. "authors": [
  9. {
  10. "name": "Márk Sági-Kazár",
  11. "email": "mark.sagikazar@gmail.com"
  12. }
  13. ],
  14. "provide": {
  15. "php-http/async-client-implementation": "*",
  16. "php-http/client-implementation": "*",
  17. "psr/http-client-implementation": "*",
  18. "psr/http-factory-implementation": "*",
  19. "psr/http-message-implementation": "*"
  20. },
  21. "require": {
  22. "php": "^7.1 || ^8.0",
  23. "composer-plugin-api": "^1.0|^2.0"
  24. },
  25. "require-dev": {
  26. "composer/composer": "^1.0.2|^2.0",
  27. "graham-campbell/phpspec-skip-example-extension": "^5.0",
  28. "php-http/httplug": "^1.0 || ^2.0",
  29. "php-http/message-factory": "^1.0",
  30. "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3",
  31. "symfony/phpunit-bridge": "^6.4.4 || ^7.0.1",
  32. "sebastian/comparator": "^3.0.5 || ^4.0.8"
  33. },
  34. "autoload": {
  35. "psr-4": {
  36. "Http\\Discovery\\": "src/"
  37. },
  38. "exclude-from-classmap": [
  39. "src/Composer/Plugin.php"
  40. ]
  41. },
  42. "autoload-dev": {
  43. "psr-4": {
  44. "spec\\Http\\Discovery\\": "spec/"
  45. }
  46. },
  47. "scripts": {
  48. "test": [
  49. "vendor/bin/phpspec run",
  50. "vendor/bin/simple-phpunit --group NothingInstalled"
  51. ],
  52. "test-ci": "vendor/bin/phpspec run -c phpspec.ci.yml"
  53. },
  54. "extra": {
  55. "class": "Http\\Discovery\\Composer\\Plugin",
  56. "plugin-optional": true
  57. },
  58. "conflict": {
  59. "nyholm/psr7": "<1.0",
  60. "zendframework/zend-diactoros": "*"
  61. },
  62. "prefer-stable": true,
  63. "minimum-stability": "beta"
  64. }