composer.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "christian-riesen/otp",
  3. "type": "library",
  4. "description": "One Time Passwords, hotp and totp according to RFC4226 and RFC6238",
  5. "keywords": ["otp","hotp","totp","googleauthenticator","rfc4226","rfc6238"],
  6. "homepage": "https://github.com/ChristianRiesen/otp",
  7. "license": "MIT",
  8. "authors": [
  9. {
  10. "name": "Christian Riesen",
  11. "email": "chris.riesen@gmail.com",
  12. "homepage": "http://christianriesen.com",
  13. "role": "Developer"
  14. }
  15. ],
  16. "require": {
  17. "php": ">=5.6.0",
  18. "paragonie/constant_time_encoding": "^1|^2",
  19. "paragonie/random_compat": ">=1",
  20. "symfony/polyfill-php56": "^1"
  21. },
  22. "require-dev": {
  23. "phpunit/phpunit": "^5.7.11 || ^6.0.5"
  24. },
  25. "autoload": {
  26. "psr-4": {
  27. "Otp\\": "src/"
  28. }
  29. },
  30. "autoload-dev": {
  31. "psr-4": {
  32. "Otp\\Tests\\": "tests/"
  33. }
  34. },
  35. "extra": {
  36. "branch-alias": {
  37. "dev-master": "2.x-dev"
  38. }
  39. }
  40. }