web-token/jwt-signature-algorithm-ecdsa
ECDSA signature algorithm support for the web-token/jwt PHP library, enabling JWT signing and verification with ES256, ES384, and ES512. Integrates with the JWT framework for standards-compliant elliptic-curve tokens.
web-token/jwt-framework's AlgorithmManager abstraction. That is an architectural bet on an ecosystem, not just a package — it should be evaluated alongside lcobucci/jwt and firebase/php-jwt in the same decision record.Consider it when:
web-token/jwt-framework (or web-token/jwt-core) and need to register ES256/ES384/ES512 in the AlgorithmManager — this is the intended, narrow use case and it does exactly one thing.Look elsewhere when:
tymon/jwt-auth, Laravel Passport, or Sanctum cover the common path with far less assembly. This package gives you a signing algorithm and nothing else — no middleware, no guards, no claims validation, no refresh flow.firebase/php-jwt or lcobucci/jwt offer ECDSA support with far broader adoption, more Stack Overflow answers, and more third-party eyeballs on the code path.jwt-framework, which is materially more established — evaluate the parent's health, not this repo's isolated number, before rejecting on popularity alone.For executives: This is a small, MIT-licensed cryptographic component that lets our PHP services sign authentication tokens with ECDSA instead of RSA. It is commodity plumbing, not a product differentiator, and it carries no licensing cost. The strategic decision worth your attention is not this package — it is the algorithm standard we commit to, because that choice affects token size, verification cost at scale, and which identity providers we can integrate with. Recommendation: treat adoption as an engineering-level call inside a broader token-strategy decision, not a standalone initiative.
For engineering: This is the ECDSA algorithm provider for web-token/jwt-framework. Adopt it only if we are already on that framework — it registers ES256/384/512 with the AlgorithmManager and does nothing else. It is not a Laravel auth package: no middleware, no guards, no claim validation. If we are greenfield on Laravel, tymon/jwt-auth or Passport is the shorter path; if we want a standalone JWT library with broader adoption, lcobucci/jwt or firebase/php-jwt are the safer defaults. Its public metrics are thin (34 stars, no listed dependents), which reflects the subpackage split rather than the parent framework's health — validate against the parent repo and our own dependency audit before committing. Either way, budget separately for EC key generation, rotation, and KMS/HSM storage; the package signs, it does not manage keys.
Bottom line: Low-risk, low-leverage dependency. Adopt as a transitive component if the framework is already in the stack; do not let it drive architecture, roadmap, or vendor strategy.
How can I help you explore Laravel packages today?