composer.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "sabre/http",
  3. "description" : "The sabre/http library provides utilities for dealing with http requests and responses. ",
  4. "keywords" : [ "HTTP" ],
  5. "homepage" : "https://github.com/fruux/sabre-http",
  6. "license" : "BSD-3-Clause",
  7. "require" : {
  8. "php" : "^7.1 || ^8.0",
  9. "ext-mbstring" : "*",
  10. "ext-ctype" : "*",
  11. "ext-curl" : "*",
  12. "sabre/event" : ">=4.0 <6.0",
  13. "sabre/uri" : "^2.0"
  14. },
  15. "require-dev" : {
  16. "friendsofphp/php-cs-fixer": "~2.17.1||^3.63",
  17. "phpstan/phpstan": "^0.12",
  18. "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6"
  19. },
  20. "suggest" : {
  21. "ext-curl" : " to make http requests with the Client class"
  22. },
  23. "authors" : [
  24. {
  25. "name" : "Evert Pot",
  26. "email" : "me@evertpot.com",
  27. "homepage" : "http://evertpot.com/",
  28. "role" : "Developer"
  29. }
  30. ],
  31. "support" : {
  32. "forum" : "https://groups.google.com/group/sabredav-discuss",
  33. "source" : "https://github.com/fruux/sabre-http"
  34. },
  35. "autoload" : {
  36. "files" : [
  37. "lib/functions.php"
  38. ],
  39. "psr-4" : {
  40. "Sabre\\HTTP\\" : "lib/"
  41. }
  42. },
  43. "autoload-dev" : {
  44. "psr-4" : {
  45. "Sabre\\HTTP\\" : "tests/HTTP"
  46. }
  47. },
  48. "scripts": {
  49. "phpstan": [
  50. "phpstan analyse lib tests"
  51. ],
  52. "cs-fixer": [
  53. "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix"
  54. ],
  55. "phpunit": [
  56. "phpunit --configuration tests/phpunit.xml"
  57. ],
  58. "test": [
  59. "composer phpstan",
  60. "composer cs-fixer",
  61. "composer phpunit"
  62. ]
  63. }
  64. }