fr3d/xmldsig
fr3d/xmldsig brings XML Digital Signature (XMLDSig) support to Laravel and PHP applications. Sign, verify, and validate XML documents with a simple API for integrating secure, standards-based XML signatures into your workflow.
openssl_* + canonicalization (C14N) handling, or (c) outsource to a commercial signing service or national e-invoicing provider. This package anchors the "adopt" option and should be evaluated head-to-head against robrichards/xmlseclibs and a managed provider before committing engineering time.NOASSERTION license. These are inputs to a risk acceptance decision, not just an engineering one — a crypto-adjacent dependency that nobody else uses and nobody maintains is a long-term liability with no upstream safety net.Consider it when:
Look elsewhere when:
NOASSERTION means GitHub could not identify a recognized license. Do not ship it into a commercial or redistributed product until legal confirms terms in writing — this alone can veto adoption.robrichards/xmlseclibs (widely used, actively maintained, clear BSD license) covers the common enveloped/enveloping/detached cases; a managed signing provider removes the whole class of problems for regulated flows.Decision rule for the PM: treat this as a prototype and reference dependency, not a production platform dependency, unless legal clears the license and engineering confirms it runs on our PHP runtime with the exact signature profile our partner requires.
To executives: We have roadmap items — and potentially entire market segments — that require signing and verifying XML documents (partner APIs, government portals, e-invoicing, SSO assertions). This library is a small, free, low-adoption PHP implementation of that standard. It is a useful, cheap way to de-risk and estimate the work in days rather than weeks, but it was last released in 2018, has essentially no downstream users, and carries an unclear license. Recommendation: fund a short technical spike using it as a reference, evaluate it against the established alternative, and only then decide whether to build in-house, adopt an open-source dependency, or buy a managed signing service. Do not position it as a strategic dependency.
To engineering: This is a candidate for a 1–2 day spike: run it against our PHP version and the exact XML sample our partner/regulator accepts, confirm which signature types (enveloped/enveloping/detached) and canonicalization modes are supported, and confirm license terms. Benchmark it against robrichards/xmlseclibs on the same sample. Output: a recommendation memo with effort estimate for build vs. adopt vs. buy, plus the security review items (key handling, certificate storage, clock skew, verification of untrusted input). Assume we will own this code if we adopt it — there is no meaningful upstream community.
How can I help you explore Laravel packages today?