composer.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "dragonmantank/cron-expression",
  3. "type": "library",
  4. "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due",
  5. "keywords": ["cron", "schedule"],
  6. "license": "MIT",
  7. "authors": [
  8. {
  9. "name": "Chris Tankersley",
  10. "email": "chris@ctankersley.com",
  11. "homepage": "https://github.com/dragonmantank"
  12. }
  13. ],
  14. "require": {
  15. "php": "^7.2|^8.0",
  16. "webmozart/assert": "^1.0"
  17. },
  18. "require-dev": {
  19. "phpstan/phpstan": "^1.0",
  20. "phpunit/phpunit": "^7.0|^8.0|^9.0",
  21. "phpstan/extension-installer": "^1.0"
  22. },
  23. "autoload": {
  24. "psr-4": {
  25. "Cron\\": "src/Cron/"
  26. }
  27. },
  28. "autoload-dev": {
  29. "psr-4": {
  30. "Cron\\Tests\\": "tests/Cron/"
  31. }
  32. },
  33. "replace": {
  34. "mtdowling/cron-expression": "^1.0"
  35. },
  36. "scripts": {
  37. "phpstan": "./vendor/bin/phpstan analyze",
  38. "test": "phpunit"
  39. },
  40. "extra": {
  41. "branch-alias": {
  42. "dev-master": "3.x-dev"
  43. }
  44. },
  45. "config": {
  46. "allow-plugins": {
  47. "ocramius/package-versions": true,
  48. "phpstan/extension-installer": true
  49. }
  50. }
  51. }