web-auth/cose-lib
PHP 8.1+ COSE (RFC 9052/9053) library: sign, encrypt, and MAC with full tag support (Sign1/Sign, Encrypt0/Encrypt, Mac0/Mac). Supports ECDSA, EdDSA, RSA, and HMAC. Compatible with WebAuthn/FIDO2.
Digital Identity & Authentication:
Security & Compliance:
API & Microservices Security:
| Use Case | COSE Feature | Business Value |
|---|---|---|
| FIDO2/WebAuthn | COSE_Sign1 (ES256/EdDSA) | Seamless passwordless auth, compliance. |
| EU Digital COVID Certs | COSE_Sign1 (ES256) | Mandatory interoperability, no reinvention. |
| IoT Device Auth | COSE_Mac0 (HS256) | Lightweight auth for constrained devices. |
| Verifiable Credentials | COSE_Sign (multi-signature) | Decentralized identity, W3C compliance. |
| API Security | COSE_Encrypt0 (AES-KW) | Message-level encryption beyond TLS. |
spomky-labs/cbor-php).cose-py, JavaScript: cose-js).cbor-php, pki-framework)."COSE is the future of digital signatures—like JWT but modern, compact, and interoperable. This PHP library lets us:
"This is a drop-in COSE library for PHP 8.1+ that:
spomky-labs/cbor-php) for compact payloads.
Use cases:"COSE addresses critical gaps in modern cryptography:
cbor-php (audit for vulnerabilities).How can I help you explore Laravel packages today?