composer.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "league/oauth1-client",
  3. "description": "OAuth 1.0 Client Library",
  4. "license": "MIT",
  5. "require": {
  6. "php": ">=7.1||>=8.0",
  7. "ext-json": "*",
  8. "ext-openssl": "*",
  9. "guzzlehttp/guzzle": "^6.0|^7.0",
  10. "guzzlehttp/psr7": "^1.7|^2.0"
  11. },
  12. "require-dev": {
  13. "ext-simplexml": "*",
  14. "phpunit/phpunit": "^7.5||9.5",
  15. "mockery/mockery": "^1.3.3",
  16. "phpstan/phpstan": "^0.12.42",
  17. "friendsofphp/php-cs-fixer": "^2.17"
  18. },
  19. "scripts": {
  20. "analyze": "vendor/bin/phpstan analyse -l 6 src/",
  21. "php-cs-fixer:lint": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --verbose --dry-run",
  22. "php-cs-fixer:format": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix",
  23. "test:unit": "vendor/bin/phpunit --coverage-text --coverage-clover coverage.xml"
  24. },
  25. "suggest": {
  26. "ext-simplexml": "For decoding XML-based responses."
  27. },
  28. "keywords": [
  29. "oauth",
  30. "oauth1",
  31. "authorization",
  32. "authentication",
  33. "idp",
  34. "identity",
  35. "sso",
  36. "single sign on",
  37. "bitbucket",
  38. "trello",
  39. "tumblr",
  40. "twitter"
  41. ],
  42. "authors": [
  43. {
  44. "name": "Ben Corlett",
  45. "email": "bencorlett@me.com",
  46. "homepage": "http://www.webcomm.com.au",
  47. "role": "Developer"
  48. }
  49. ],
  50. "autoload": {
  51. "psr-4": {
  52. "League\\OAuth1\\Client\\": "src/"
  53. }
  54. },
  55. "autoload-dev": {
  56. "psr-4": {
  57. "League\\OAuth1\\Client\\Tests\\": "tests/"
  58. }
  59. },
  60. "extra": {
  61. "branch-alias": {
  62. "dev-master": "1.0-dev",
  63. "dev-develop": "2.0-dev"
  64. }
  65. }
  66. }