spomky-labs/pki-framework
PHP 8.1+ framework for Public Key Infrastructure: X.509 certificates (incl. attribute certs), ASN.1 DER encoding/decoding, X.501/X.520 DN parsing, PEM (RFC 7468) handling, and PKCS-oriented cryptography utilities.
openssl CLI, Python cryptography, or Java Bouncy Castle) with a unified PHP API in Laravel. Accelerate development of certificate-related features (e.g., OAuth, JWT validation, or custom auth systems like Sanctum/Passport).1.3.6.1.4.1.34342.1.1) without vendor limitations. Useful for niche industries (e.g., healthcare, finance) with unique compliance requirements.openssl commands.php artisan pki:rotate --days=30).id-ce-privateKey).openssl), Python cryptography, or Java Bouncy Castle, reducing context-switching.ext-openssl instead).ext-openssl or Rust-based solutions like rustls for bulk operations).certbot, lego, or cloud PKI APIs like AWS ACM).step-ca, Java’s Bouncy Castle, or Rust’s ring/webpki).phpseclib or hybrid approaches).*"This open-source PKI framework allows us to eliminate recurring certificate authority (CA) costs while gaining full control over our cryptographic infrastructure. Here’s the business case:
Risk Mitigation:
openssl commands with Laravel APIs (3-month effort).*"This package provides a PHP-native PKI toolkit to consolidate fragmented certificate management workflows into a unified Laravel API. Here’s how it addresses key pain points:
Key Benefits:
openssl commands).php artisan pki:rotate).Implementation Plan:
openssl commands with the framework’s API for internal tooling (e.g., CI/CD, dev environments).Dependencies:
mbstring (standard in Laravel).gmp/bcmath for cryptographic operations (recommended for production).Alternatives Considered:
How can I help you explore Laravel packages today?