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.2"
  32. },
  33. "autoload": {
  34. "psr-4": {
  35. "Http\\Discovery\\": "src/"
  36. },
  37. "exclude-from-classmap": [
  38. "src/Composer/Plugin.php"
  39. ]
  40. },
  41. "autoload-dev": {
  42. "psr-4": {
  43. "spec\\Http\\Discovery\\": "spec/"
  44. }
  45. },
  46. "scripts": {
  47. "test": [
  48. "vendor/bin/phpspec run",
  49. "vendor/bin/simple-phpunit --group NothingInstalled"
  50. ],
  51. "test-ci": "vendor/bin/phpspec run -c phpspec.ci.yml"
  52. },
  53. "extra": {
  54. "class": "Http\\Discovery\\Composer\\Plugin",
  55. "plugin-optional": true
  56. },
  57. "conflict": {
  58. "nyholm/psr7": "<1.0",
  59. "zendframework/zend-diactoros": "*"
  60. },
  61. "prefer-stable": true,
  62. "minimum-stability": "beta"
  63. }