composer.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "spomky-labs/otphp",
  3. "type": "library",
  4. "description": "A PHP library for generating one time passwords according to RFC 4226 (HOTP Algorithm) and the RFC 6238 (TOTP Algorithm) and compatible with Google Authenticator",
  5. "license": "MIT",
  6. "keywords": ["otp", "hotp", "totp", "RFC 4226", "RFC 6238", "Google Authenticator", "FreeOTP"],
  7. "homepage": "https://github.com/Spomky-Labs/otphp",
  8. "authors": [
  9. {
  10. "name": "Florent Morselli",
  11. "homepage": "https://github.com/Spomky"
  12. },
  13. {
  14. "name": "All contributors",
  15. "homepage": "https://github.com/Spomky-Labs/otphp/contributors"
  16. }
  17. ],
  18. "require": {
  19. "php": "^8.1",
  20. "ext-mbstring": "*",
  21. "paragonie/constant_time_encoding": "^2.0"
  22. },
  23. "require-dev": {
  24. "ekino/phpstan-banned-code": "^1.0",
  25. "infection/infection": "^0.26",
  26. "php-parallel-lint/php-parallel-lint": "^1.3",
  27. "phpstan/phpstan": "^1.0",
  28. "phpstan/phpstan-deprecation-rules": "^1.0",
  29. "phpstan/phpstan-phpunit": "^1.0",
  30. "phpstan/phpstan-strict-rules": "^1.0",
  31. "phpunit/phpunit": "^9.5.26",
  32. "qossmic/deptrac-shim": "^1.0",
  33. "rector/rector": "^0.15",
  34. "symfony/phpunit-bridge": "^6.1",
  35. "symplify/easy-coding-standard": "^11.0"
  36. },
  37. "autoload": {
  38. "psr-4": { "OTPHP\\": "src/" }
  39. },
  40. "autoload-dev": {
  41. "psr-4": { "OTPHP\\Test\\": "tests/" }
  42. },
  43. "config": {
  44. "allow-plugins": {
  45. "phpstan/extension-installer": true,
  46. "infection/extension-installer": true,
  47. "composer/package-versions-deprecated": true,
  48. "symfony/flex": true,
  49. "symfony/runtime": true
  50. },
  51. "optimize-autoloader": true,
  52. "preferred-install": {
  53. "*": "dist"
  54. },
  55. "sort-packages": true
  56. }
  57. }