composer.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "rmccue/requests",
  3. "description": "A HTTP library written in PHP, for human beings.",
  4. "homepage": "https://requests.ryanmccue.info/",
  5. "license": "ISC",
  6. "type": "library",
  7. "keywords": [
  8. "http",
  9. "idna",
  10. "iri",
  11. "ipv6",
  12. "curl",
  13. "sockets",
  14. "fsockopen"
  15. ],
  16. "authors": [
  17. {
  18. "name": "Ryan McCue",
  19. "homepage": "https://rmccue.io/"
  20. },
  21. {
  22. "name": "Alain Schlesser",
  23. "homepage": "https://github.com/schlessera"
  24. },
  25. {
  26. "name": "Juliette Reinders Folmer",
  27. "homepage": "https://github.com/jrfnl"
  28. },
  29. {
  30. "name": "Contributors",
  31. "homepage": "https://github.com/WordPress/Requests/graphs/contributors"
  32. }
  33. ],
  34. "support": {
  35. "issues": "https://github.com/WordPress/Requests/issues",
  36. "source": "https://github.com/WordPress/Requests",
  37. "docs": "https://requests.ryanmccue.info/"
  38. },
  39. "require": {
  40. "php": ">=5.6",
  41. "ext-json": "*"
  42. },
  43. "config": {
  44. "allow-plugins": {
  45. "dealerdirect/phpcodesniffer-composer-installer": true
  46. }
  47. },
  48. "require-dev": {
  49. "requests/test-server": "dev-main",
  50. "squizlabs/php_codesniffer": "^3.6",
  51. "phpcompatibility/php-compatibility": "^9.0",
  52. "wp-coding-standards/wpcs": "^2.0",
  53. "dealerdirect/phpcodesniffer-composer-installer": "^0.7",
  54. "php-parallel-lint/php-parallel-lint": "^1.3.1",
  55. "php-parallel-lint/php-console-highlighter": "^0.5.0",
  56. "yoast/phpunit-polyfills": "^1.0.0",
  57. "roave/security-advisories": "dev-latest"
  58. },
  59. "autoload": {
  60. "psr-4": {
  61. "WpOrg\\Requests\\": "src/"
  62. },
  63. "classmap": ["library/Requests.php"],
  64. "files": ["library/Deprecated.php"]
  65. },
  66. "autoload-dev": {
  67. "psr-4": {
  68. "WpOrg\\Requests\\Tests\\": "tests/"
  69. }
  70. },
  71. "scripts": {
  72. "lint": [
  73. "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
  74. ],
  75. "checkcs": [
  76. "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs"
  77. ],
  78. "fixcs": [
  79. "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
  80. ],
  81. "test": [
  82. "@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
  83. ],
  84. "coverage": [
  85. "@php ./vendor/phpunit/phpunit/phpunit"
  86. ]
  87. }
  88. }