A simple implementation of enumerated types, for PHP. https://docs.belin.io/enum.php
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

52 lines
1.2 KiB

  1. {
  2. "description": "A simple implementation of enumerated types.",
  3. "homepage": "https://docs.belin.io/enum.php",
  4. "license": "MIT",
  5. "name": "cedx/enum",
  6. "type": "library",
  7. "version": "8.2.0",
  8. "authors": [
  9. {"email": "cedric@belin.io", "homepage": "https://belin.io", "name": "Cédric Belin"}
  10. ],
  11. "autoload": {
  12. "psr-4": {"Enum\\": "src/"}
  13. },
  14. "autoload-dev": {
  15. "psr-4": {"Enum\\": "test/"}
  16. },
  17. "config": {
  18. "optimize-autoloader": true
  19. },
  20. "funding": [
  21. {"type": "patreon", "url": "https://www.patreon.com/cedx"}
  22. ],
  23. "keywords": [
  24. "enum",
  25. "enumeration",
  26. "php",
  27. "type"
  28. ],
  29. "require": {
  30. "php": ">=7.4.0",
  31. "ext-reflection": "*"
  32. },
  33. "require-dev": {
  34. "cedx/coveralls": "^13.2.0",
  35. "phpstan/phpstan": "^0.12.44",
  36. "phpunit/phpunit": "^9.3.11"
  37. },
  38. "scripts": {
  39. "clean": "pwsh tool/clean.ps1",
  40. "coverage": "coveralls var/coverage.xml",
  41. "doc": ["@version", "pwsh tool/doc.ps1"],
  42. "lint": "phpstan analyse --configuration=etc/phpstan.neon",
  43. "publish": ["@clean", "@version", "pwsh tool/publish.ps1"],
  44. "test": "phpunit --configuration=etc/phpunit.xml",
  45. "version": "pwsh tool/version.ps1"
  46. },
  47. "support": {
  48. "docs": "https://api.belin.io/enum.php",
  49. "issues": "https://git.belin.io/cedx/enum.php/issues"
  50. }
  51. }