composer.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "php-imap/php-imap",
  3. "description": "Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)",
  4. "keywords": [
  5. "PHP",
  6. "mail",
  7. "IMAP",
  8. "POP3",
  9. "mailbox",
  10. "receive emails"
  11. ],
  12. "homepage": "https://github.com/barbushin/php-imap",
  13. "license": "MIT",
  14. "type": "library",
  15. "authors": [
  16. {
  17. "name": "Sergey Barbushin",
  18. "homepage": "http://linkedin.com/in/barbushin",
  19. "email": "barbushin@gmail.com"
  20. }
  21. ],
  22. "config": {
  23. "sort-packages": true
  24. },
  25. "require": {
  26. "php": ">=5.6",
  27. "ext-fileinfo": "*",
  28. "ext-iconv": "*",
  29. "ext-imap": "*",
  30. "ext-mbstring": "*"
  31. },
  32. "require-dev": {
  33. "friendsofphp/php-cs-fixer": "^2.16",
  34. "jakub-onderka/php-parallel-lint": "^1.0",
  35. "paragonie/random_compat": "^1",
  36. "phpunit/phpunit": "^5.7"
  37. },
  38. "scripts": {
  39. "tests": [
  40. "parallel-lint .php_cs.dist src tests examples",
  41. "phpunit",
  42. "composer-require-checker check ./composer.json",
  43. "psalm --show-info=false",
  44. "php-cs-fixer fix --allow-risky=yes --no-interaction --dry-run --diff-format=udiff -v"
  45. ]
  46. },
  47. "suggest": {
  48. "ext-fileinfo": "To facilitate IncomingMailAttachment::getMimeType() auto-detection"
  49. },
  50. "autoload-dev": {
  51. "psr-4": {
  52. "PhpImap\\": "tests/unit"
  53. }
  54. },
  55. "autoload": {
  56. "psr-4": {
  57. "PhpImap\\": "src/PhpImap"
  58. }
  59. }
  60. }