composer.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "name": "overtrue/easy-sms",
  3. "description": "The easiest way to send short message.",
  4. "type": "library",
  5. "require": {
  6. "guzzlehttp/guzzle": "^6.2 || ^7.0",
  7. "php": ">=8.0",
  8. "ext-json": "*"
  9. },
  10. "require-dev": {
  11. "phpunit/phpunit": "^9.5.8",
  12. "mockery/mockery": "^1.4.2",
  13. "jetbrains/phpstorm-attributes": "^1.0",
  14. "friendsofphp/php-cs-fixer": "^3.54"
  15. },
  16. "autoload": {
  17. "psr-4": {
  18. "Overtrue\\EasySms\\": "src"
  19. }
  20. },
  21. "autoload-dev": {
  22. "psr-4": {
  23. "Overtrue\\EasySms\\Tests\\": "tests"
  24. }
  25. },
  26. "license": "MIT",
  27. "authors": [
  28. {
  29. "name": "overtrue",
  30. "email": "i@overtrue.me"
  31. }
  32. ],
  33. "scripts": {
  34. "phpstan": "phpstan analyse",
  35. "check-style": "php-cs-fixer fix --using-cache=no --diff --config=.php-cs-fixer.dist.php --dry-run --allow-risky=yes --ansi",
  36. "fix-style": "php-cs-fixer fix --using-cache=no --config=.php-cs-fixer.dist.php --allow-risky=yes --ansi",
  37. "test": "phpunit --colors",
  38. "psalm": "psalm --show-info=true --no-cache",
  39. "psalm-fix": "psalm --no-cache --alter --issues=MissingReturnType,MissingParamType"
  40. }
  41. }