composer.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "sabre/event",
  3. "description": "sabre/event is a library for lightweight event-based programming",
  4. "keywords": [
  5. "Events",
  6. "EventEmitter",
  7. "Promise",
  8. "Hooks",
  9. "Plugin",
  10. "Signal",
  11. "Async",
  12. "EventLoop",
  13. "Reactor",
  14. "Coroutine"
  15. ],
  16. "homepage": "http://sabre.io/event/",
  17. "license": "BSD-3-Clause",
  18. "require": {
  19. "php": "^7.1 || ^8.0"
  20. },
  21. "authors": [
  22. {
  23. "name": "Evert Pot",
  24. "email": "me@evertpot.com",
  25. "homepage": "http://evertpot.com/",
  26. "role": "Developer"
  27. }
  28. ],
  29. "support": {
  30. "forum": "https://groups.google.com/group/sabredav-discuss",
  31. "source": "https://github.com/fruux/sabre-event"
  32. },
  33. "autoload": {
  34. "psr-4": {
  35. "Sabre\\Event\\": "lib/"
  36. },
  37. "files" : [
  38. "lib/coroutine.php",
  39. "lib/Loop/functions.php",
  40. "lib/Promise/functions.php"
  41. ]
  42. },
  43. "autoload-dev": {
  44. "psr-4" : {
  45. "Sabre\\Event\\" : "tests/Event"
  46. }
  47. },
  48. "require-dev": {
  49. "friendsofphp/php-cs-fixer": "~2.17.1||^3.63",
  50. "phpstan/phpstan": "^0.12",
  51. "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6"
  52. },
  53. "scripts": {
  54. "phpstan": [
  55. "phpstan analyse lib tests"
  56. ],
  57. "cs-fixer": [
  58. "PHP_CS_FIXER_IGNORE_ENV=true php-cs-fixer fix"
  59. ],
  60. "phpunit": [
  61. "phpunit --configuration tests/phpunit.xml"
  62. ],
  63. "test": [
  64. "composer phpstan",
  65. "composer cs-fixer",
  66. "composer phpunit"
  67. ]
  68. }
  69. }