composer/ca-bundle
Utility to locate the system CA root bundle for TLS/SSL verification, with a bundled Mozilla CA bundle fallback. Provides helpers to validate CA files and integrate easily with cURL, PHP streams, and Guzzle.
Adopt when:
Look elsewhere when:
For Executives:
"This package eliminates a critical pain point in our Laravel/PHP applications—certificate validation errors that disrupt API calls, payments, and user experiences. By adopting composer/ca-bundle, we ensure seamless HTTPS connectivity across all environments (dev, staging, production, containers) without manual configuration or security risks. It’s a low-cost, high-impact solution that reduces downtime, improves compliance, and saves development time—all while leveraging a battle-tested, MIT-licensed tool from the Composer team."
For Engineering Teams:
"This package provides a single, reliable source for CA certificates, solving the 'unable to get local issuer certificate' errors that plague cross-platform deployments. It dynamically detects system CA paths or falls back to an up-to-date Mozilla bundle, ensuring consistent TLS validation. Integration is straightforward—just replace hardcoded CA paths with CaBundle::getSystemCaRootBundlePath() in Guzzle, cURL, or PHP streams. No more environment-specific hacks or certificate renewal headaches. Let’s adopt this to future-proof our HTTP infrastructure."
How can I help you explore Laravel packages today?