composer.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "seld/signal-handler",
  3. "description": "Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development",
  4. "keywords": ["unix", "posix", "signal", "sigint", "sigterm"],
  5. "type": "library",
  6. "license": "MIT",
  7. "authors": [
  8. {
  9. "name": "Jordi Boggiano",
  10. "email": "j.boggiano@seld.be",
  11. "homepage": "http://seld.be"
  12. }
  13. ],
  14. "require": {
  15. "php": ">=7.2.0"
  16. },
  17. "require-dev": {
  18. "phpunit/phpunit": "^7.5.20 || ^8.5.23",
  19. "psr/log": "^1 || ^2 || ^3",
  20. "phpstan/phpstan": "^1",
  21. "phpstan/phpstan-phpunit": "^1",
  22. "phpstan/phpstan-strict-rules": "^1.3",
  23. "phpstan/phpstan-deprecation-rules": "^1.0"
  24. },
  25. "autoload": {
  26. "psr-4": { "Seld\\Signal\\": "src/" }
  27. },
  28. "autoload-dev": {
  29. "psr-4": { "Seld\\Signal\\": "tests/" }
  30. },
  31. "scripts": {
  32. "phpstan": "@php phpstan analyse",
  33. "test": "@php phpunit"
  34. },
  35. "extra": {
  36. "branch-alias": {
  37. "dev-main": "2.x-dev"
  38. }
  39. }
  40. }