| 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 |
"paragonie/constant_time_encoding": "^2.0 || ^3.0", |
| 21 |
"psr/clock": "^1.0", |
| 22 |
"symfony/deprecation-contracts": "^3.2" |
| 23 |
}, |
| 24 |
"require-dev": { |
| 25 |
"symfony/error-handler": "^6.4|^7.0|^8.0" |
| 26 |
}, |
| 27 |
"autoload": { |
| 28 |
"psr-4": { "OTPHP\\": "src/" } |
| 29 |
}, |
| 30 |
"autoload-dev": { |
| 31 |
"psr-4": { "OTPHP\\Test\\": "tests/" } |
| 32 |
}, |
| 33 |
"config": { |
| 34 |
"allow-plugins": { |
| 35 |
"phpstan/extension-installer": true, |
| 36 |
"infection/extension-installer": true, |
| 37 |
"composer/package-versions-deprecated": true, |
| 38 |
"symfony/flex": true, |
| 39 |
"symfony/runtime": true |
| 40 |
}, |
| 41 |
"optimize-autoloader": true, |
| 42 |
"preferred-install": { |
| 43 |
"*": "dist" |
| 44 |
}, |
| 45 |
"sort-packages": true |
| 46 |
} |
| 47 |
} |