Download the PHP package composer/ca-bundle without Composer
On this page you can find all versions of the php package composer/ca-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ca-bundle
composer/ca-bundle
Small utility library that lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.
Originally written as part of composer/composer, now extracted and made available as a stand-alone library.
Installation
Install the latest version with:
Requirements
- PHP 5.3.2 is required but using the latest version of PHP is highly recommended.
Basic usage
Composer\CaBundle\CaBundle
CaBundle::getSystemCaRootBundlePath()
: Returns the system CA bundle path, or a path to the bundled one as fallbackCaBundle::getBundledCaBundlePath()
: Returns the path to the bundled CA fileCaBundle::validateCaFile($filename)
: Validates a CA file using openssl_x509_parse only if it is safe to useCaBundle::isOpensslParseSafe()
: Test if it is safe to use the PHP function openssl_x509_parse()CaBundle::reset()
: Resets the static caches
To use with curl
To use with php streams
To use with Guzzle
License
composer/ca-bundle is licensed under the MIT License, see the LICENSE file for details.
All versions of ca-bundle with dependencies
PHP Build Version
Package Version
Requires
ext-openssl Version
*
ext-pcre Version *
php Version ^7.2 || ^8.0
ext-pcre Version *
php Version ^7.2 || ^8.0
The package composer/ca-bundle contains the following files
Loading the files please wait ....