| 1 | { |
| 2 | "name": "web-auth/cose-lib", |
| 3 | "type": "library", |
| 4 | "license": "MIT", |
| 5 | "description": "CBOR Object Signing and Encryption (COSE) For PHP", |
| 6 | "keywords": ["COSE", "RFC8152"], |
| 7 | "homepage": "https://github.com/web-auth", |
| 8 | "authors": [ |
| 9 | { |
| 10 | "name": "Florent Morselli", |
| 11 | "homepage": "https://github.com/Spomky" |
| 12 | }, |
| 13 | { |
| 14 | "name": "All contributors", |
| 15 | "homepage": "https://github.com/web-auth/cose/contributors" |
| 16 | } |
| 17 | ], |
| 18 | "require": { |
| 19 | "php": ">=8.1", |
| 20 | "ext-json": "*", |
| 21 | "ext-openssl": "*", |
| 22 | "brick/math": "^0.9|^0.10|^0.11|^0.12|^0.13|^0.14|^0.15|^0.16|^0.17", |
| 23 | "spomky-labs/pki-framework": "^1.0" |
| 24 | }, |
| 25 | "require-dev": { |
| 26 | "spomky-labs/cbor-php": "^3.2.2" |
| 27 | }, |
| 28 | "autoload": { |
| 29 | "psr-4": { |
| 30 | "Cose\\": "src/" |
| 31 | } |
| 32 | }, |
| 33 | "autoload-dev": { |
| 34 | "psr-4": { |
| 35 | "Cose\\Tests\\": "tests/" |
| 36 | } |
| 37 | }, |
| 38 | "suggest": { |
| 39 | "ext-gmp": "For better performance, please install either GMP (recommended) or BCMath extension", |
| 40 | "ext-bcmath": "For better performance, please install either GMP (recommended) or BCMath extension", |
| 41 | "spomky-labs/cbor-php": "For COSE Signature support" |
| 42 | } |
| 43 | } |