NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2043 most downloaded on Packagist
A class to easily query the properties of an ssl certificate
Last release 4 months ago
05 Jun 2026
Release timing varies
gaps range from 2 weeks to 1.1 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
80 releases · first in 2016
Update test case files & README.md by @JoeHorn in #195
Full Changelog: 2.6.10...2.7.0
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.10...2.7.0
One column per quarter.
A wildcard certificate does not cover the root domain by @styxit in #194
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.9...2.6.10
Fix PHP 8.4 implicitly marking parameter deprecation by @jdecool in #193
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.8...2.6.9
Implicit conversion from float to int Warning by @cord in #192
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.7...2.6.8
Base64 encode serialized publicKeyDetail by @jszobody in #190
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.6...2.6.7
Update README.md by @JoeHorn in #188
Full Changelog: 2.6.5...2.6.6
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.5...2.6.6
Fix deprecated calls in test by @lloricode in #187
Full Changelog: 2.6.4...2.6.5
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.4...2.6.5
fix errors
Suppress stream_socket_client warnings by @mbardelmeijer in #184
stream_socket_client warnings by @mbardelmeijer in #184Full Changelog: 2.6.2...2.6.3
stream_socket_client warnings by @mbardelmeijer in https://github.com/spatie/ssl-certificate/pull/184Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.2...2.6.3
Use stream_socket_client() exception for better message by @rudiedirkx in #183
Full Changelog: 2.6.1...2.6.2
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.1...2.6.2
- improve bc
Introduce SslCertificate::getPublicKeyAlgorithm() and SslCertificate::getPublicKeySize() by @JoeHorn in https://github.com/spatie/ssl-certificate/pull
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.5.0...2.6.0
Display connecting port in error message by @JoeHorn in https://github.com/spatie/ssl-certificate/pull/181
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.4.1...2.5.0
Missing type by @roquie in https://github.com/spatie/ssl-certificate/pull/178
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.4.0...2.4.1
add the ability to load from file a DER based certificate by @marco-introini in https://github.com/spatie/ssl-certificate/pull/177
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.3.0...2.4.0
Add getSerialNumber() by @hexathos in https://github.com/spatie/ssl-certificate/pull/176
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.2.0...2.3.0
Update .gitattributes by @angeljqv in https://github.com/spatie/ssl-certificate/pull/171
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.3...2.2.0
Keep original unknown error message by @rudiedirkx in https://github.com/spatie/ssl-certificate/pull/170
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.2...2.1.3
- Make compatible with PHP 8.2 Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.1...2.1.2
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.1...2.1.2
- improve URL validation
add toArray and createFromArray
toArray and createFromArray- add support for custom ports
- support spatie/macroable v2
fix edge case when using serialized certificates
use PHP 8 syntax where possible
fix getOrganization method which always returned an empty result
getOrganization method which always returned an empty result (#139)allow set followLocation to be set to zero, ignoring redirect
drop support for PHP 7.3 and below
add option to disable certificate validation in createForHostName
- add withSocketContextOptions
withSocketContextOptionscreateFromFile static method bugfix #127
createFromFile static method bugfix #127- add lifespan in days
get details from a certificate from string
throw exception instead of displaying warning when download fails
add missing exception for invalid IP address
add function to get certificate for hostname from IP address
set SSL option param 'peer_name' with hostname value
expose the remote address that served the certificates in the downloader
drop support for PHP 7.1 and below
add check for missing 'INTL_IDNA_VARIANT_UTS46' constant
- add fingerprint sha256
Fix SSL check for IP addresses that serve a valid SSL, i.e. 1.1.1.1
- add specific exceptions
add support for detecting pre-certificates
take into account that IDN functions in PHP are limited to 61 characters
- allow Carbon v2
idn_to_ascii is not required anymore
idn_to_ascii is not required anymore- use port 443 by default
normalize all hostnames to lowercase when checking validity
- fix appliesToUrl
appliesToUrladd ext-intl dep to composer.json
ext-intl dep to composer.jsonconvert IDN to ASCII before attempting to validate
fix bug where wildcard matching could be wrong
close socket connection in Downloader::fetchCertificates()
Downloader::fetchCertificates()- add getFingerprint()
getFingerprint()fixes for containsDomain: add literal and wildcard match for domains
containsDomain: add literal and wildcard match for domains- fix getDomains
getDomains- fix getDomains
getDomains- fix getDomain
getDomainfix keys of array with all domain names
Your coding agent can read these notes before it upgrades. Set up the MCP server →