composer.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "mailgun/mailgun-php",
  3. "description": "The Mailgun SDK provides methods for all API functions.",
  4. "license": "MIT",
  5. "authors": [
  6. {
  7. "name": "Travis Swientek",
  8. "email": "travis@mailgunhq.com"
  9. }
  10. ],
  11. "require": {
  12. "php": "^7.4 || ^8.0",
  13. "php-http/client-common": "^2.2.1",
  14. "php-http/discovery": "^1.19",
  15. "php-http/multipart-stream-builder": "^1.1.2",
  16. "psr/http-client": "^1.0",
  17. "webmozart/assert": "^1.9.1"
  18. },
  19. "require-dev": {
  20. "ergebnis/composer-normalize": "^2.43",
  21. "nyholm/nsa": "^1.2.1",
  22. "nyholm/psr7": "^1.3.1",
  23. "phpcompatibility/php-compatibility": "^9.3",
  24. "phpunit/phpunit": "^9.3",
  25. "squizlabs/php_codesniffer": "^3.7",
  26. "symfony/http-client": "^5.4 || ^6.3",
  27. "vimeo/psalm": "^4.0 || ^5.25"
  28. },
  29. "suggest": {
  30. "nyholm/psr7": "PSR-7 message implementation",
  31. "symfony/http-client": "HTTP client"
  32. },
  33. "prefer-stable": true,
  34. "autoload": {
  35. "psr-4": {
  36. "Mailgun\\": "src/"
  37. }
  38. },
  39. "autoload-dev": {
  40. "psr-4": {
  41. "Mailgun\\Tests\\": "tests/"
  42. }
  43. },
  44. "config": {
  45. "allow-plugins": {
  46. "ergebnis/composer-normalize": true,
  47. "php-http/discovery": true
  48. }
  49. },
  50. "extra": {
  51. "branch-alias": {
  52. "dev-master": "3.0-dev"
  53. }
  54. },
  55. "scripts": {
  56. "post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
  57. "post-update-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
  58. "test": "vendor/bin/phpunit"
  59. }
  60. }