spatie/ssl-certificate
A class to easily query the properties of an ssl certificate
2.7.0
5.4M downloads/mo
#2369 most downloaded on Packagist
spatie/ssl-certificate
What this package is like to depend on
Last release 2 months ago
05 Jun 2026
Release timing varies
gaps range from 2 weeks to 1.1 years
Nearly every release is documented
notes for 78 of 80 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
80 releases · first in 2016
1 release in the last 12 months
see the full history below
Release timeline
79 releases · Jul 2016 to Jun 2026Releases
latest 60 of 80-
2.7.005 Jun 2026Release notes
Open source →What's Changed
- Update test case files & README.md by @JoeHorn in #195
- Update issue template by @AlexVanderbist in #198
- Add getSubjectOrganization and modernise the tooling by @freekmurze in #199
New Contributors
- @AlexVanderbist made their first contribution in #198
Full Changelog: 2.6.10...2.7.0
Release notes
Open source →What's Changed
- Update test case files & README.md by @JoeHorn in https://github.com/spatie/ssl-certificate/pull/195
- Update issue template by @AlexVanderbist in https://github.com/spatie/ssl-certificate/pull/198
- Add getSubjectOrganization and modernise the tooling by @freekmurze in https://github.com/spatie/ssl-certificate/pull/199
New Contributors
- @AlexVanderbist made their first contribution in https://github.com/spatie/ssl-certificate/pull/198
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.10...2.7.0
-
2.6.1025 Apr 2025Release notes
Open source →What's Changed
- A wildcard certificate does not cover the root domain by @styxit in https://github.com/spatie/ssl-certificate/pull/194
New Contributors
- @styxit made their first contribution in https://github.com/spatie/ssl-certificate/pull/194
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.9...2.6.10
-
2.6.931 Jan 2025Release notes
Open source →What's Changed
- Fix PHP 8.4 implicitly marking parameter deprecation by @jdecool in https://github.com/spatie/ssl-certificate/pull/193
New Contributors
- @jdecool made their first contribution in https://github.com/spatie/ssl-certificate/pull/193
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.8...2.6.9
-
2.6.820 Sep 2024Release notes
Open source →What's Changed
- Implicit conversion from float to int Warning by @cord in https://github.com/spatie/ssl-certificate/pull/192
New Contributors
- @cord made their first contribution in https://github.com/spatie/ssl-certificate/pull/192
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.7...2.6.8
-
2.6.728 Jun 2024Release notes
Open source →What's Changed
- Base64 encode serialized publicKeyDetail by @jszobody in https://github.com/spatie/ssl-certificate/pull/190
New Contributors
- @jszobody made their first contribution in https://github.com/spatie/ssl-certificate/pull/190
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.6...2.6.7
-
2.6.607 Jun 2024Release notes
Open source →What's Changed
- Update README.md by @JoeHorn in #188
- Make days diff negative when using Carbon v2 by @kylekatarnls in #189
New Contributors
- @kylekatarnls made their first contribution in #189
Full Changelog: 2.6.5...2.6.6
Release notes
Open source →What's Changed
- Update README.md by @JoeHorn in https://github.com/spatie/ssl-certificate/pull/188
- Make days diff negative when using Carbon v2 by @kylekatarnls in https://github.com/spatie/ssl-certificate/pull/189
New Contributors
- @kylekatarnls made their first contribution in https://github.com/spatie/ssl-certificate/pull/189
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.5...2.6.6
-
2.6.525 Mar 2024Release notes
Open source →What's Changed
- Add PHP 8.3 on test by @lloricode in #186
- Fix deprecated calls in test by @lloricode in #187
- Allow Carbon v3 by @lloricode in #185
New Contributors
- @lloricode made their first contribution in #186
Full Changelog: 2.6.4...2.6.5
Release notes
Open source →What's Changed
- Add PHP 8.3 on test by @lloricode in https://github.com/spatie/ssl-certificate/pull/186
- Fix deprecated calls in test by @lloricode in https://github.com/spatie/ssl-certificate/pull/187
- Allow Carbon v3 by @lloricode in https://github.com/spatie/ssl-certificate/pull/185
New Contributors
- @lloricode made their first contribution in https://github.com/spatie/ssl-certificate/pull/186
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.4...2.6.5
-
2.6.420 Feb 2024 -
2.6.317 Feb 2024Release notes
Open source →What's Changed
- Suppress
stream_socket_clientwarnings by @mbardelmeijer in #184
New Contributors
- @mbardelmeijer made their first contribution in #184
Full Changelog: 2.6.2...2.6.3
Release notes
Open source →What's Changed
- Suppress
stream_socket_clientwarnings by @mbardelmeijer in https://github.com/spatie/ssl-certificate/pull/184
New Contributors
- @mbardelmeijer made their first contribution in https://github.com/spatie/ssl-certificate/pull/184
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.2...2.6.3
- Suppress
-
2.6.217 Oct 2023Release notes
Open source →What's Changed
- Use stream_socket_client() exception for better message by @rudiedirkx in #183
Full Changelog: 2.6.1...2.6.2
Release notes
Open source →What's Changed
- Use stream_socket_client() exception for better message by @rudiedirkx in https://github.com/spatie/ssl-certificate/pull/183
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.6.1...2.6.2
-
2.6.129 Sep 2023 -
2.6.004 Sep 2023Release notes
Open source →What's Changed
- Introduce SslCertificate::getPublicKeyAlgorithm() and SslCertificate::getPublicKeySize() by @JoeHorn in https://github.com/spatie/ssl-certificate/pull/182
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.5.0...2.6.0
-
2.5.010 Aug 2023Release notes
Open source →What's Changed
- Display connecting port in error message by @JoeHorn in https://github.com/spatie/ssl-certificate/pull/181
New Contributors
- @JoeHorn made their first contribution in https://github.com/spatie/ssl-certificate/pull/181
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.4.1...2.5.0
-
2.4.107 Aug 2023Release notes
Open source →What's Changed
- Missing type by @roquie in https://github.com/spatie/ssl-certificate/pull/178
- Convert all tests to pest by @alexmanase in https://github.com/spatie/ssl-certificate/pull/180
New Contributors
- @roquie made their first contribution in https://github.com/spatie/ssl-certificate/pull/178
- @alexmanase made their first contribution in https://github.com/spatie/ssl-certificate/pull/180
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.4.0...2.4.1
-
2.4.028 Oct 2022Release notes
Open source →What's Changed
- add the ability to load from file a DER based certificate by @marco-introini in https://github.com/spatie/ssl-certificate/pull/177
New Contributors
- @marco-introini made their first contribution in https://github.com/spatie/ssl-certificate/pull/177
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.3.0...2.4.0
-
2.3.007 Sep 2022Release notes
Open source →What's Changed
- Add getSerialNumber() by @hexathos in https://github.com/spatie/ssl-certificate/pull/176
New Contributors
- @hexathos made their first contribution in https://github.com/spatie/ssl-certificate/pull/176
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.2.0...2.3.0
-
2.2.016 Jun 2022Release notes
Open source →What's Changed
- Update .gitattributes by @angeljqv in https://github.com/spatie/ssl-certificate/pull/171
- add IPv6 Support by @LordSimal in https://github.com/spatie/ssl-certificate/pull/174
New Contributors
- @angeljqv made their first contribution in https://github.com/spatie/ssl-certificate/pull/171
- @LordSimal made their first contribution in https://github.com/spatie/ssl-certificate/pull/174
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.3...2.2.0
-
2.1.306 Jun 2022Release notes
Open source →What's Changed
- Keep original unknown error message by @rudiedirkx in https://github.com/spatie/ssl-certificate/pull/170
New Contributors
- @rudiedirkx made their first contribution in https://github.com/spatie/ssl-certificate/pull/170
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.2...2.1.3
-
2.1.217 Nov 2021Release notes
Open source →- Make compatible with PHP 8.2
Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.1...2.1.2
-
2.1.103 Oct 2021 -
2.1.010 Aug 2021 -
2.0.308 Jul 2021 -
2.0.204 Jul 2021 -
2.0.130 Mar 2021 -
2.0.030 Mar 2021 -
1.22.115 Feb 2021 -
1.22.009 Nov 2020 -
1.21.103 Nov 2020 -
1.21.019 Oct 2020Release notes
Open source →- add option to disable certificate validation in createForHostName (#132)
-
1.20.007 Oct 2020 -
1.19.101 Apr 2020 -
1.19.021 Mar 2020 -
1.18.018 Mar 2020 -
1.17.224 Jan 2020 -
1.17.124 Jan 2020 -
1.17.024 Jan 2020 -
1.16.118 Nov 2019 -
1.16.030 Sep 2019Release notes
Open source →- expose the remote address that served the certificates in the downloader (#110)
-
1.15.022 Jul 2019 -
1.14.122 Jul 2019 -
1.14.004 Jul 2019 -
1.13.123 May 2019 -
1.13.019 Feb 2019 -
1.12.1106 Dec 2018 -
1.12.1003 Dec 2018Release notes
Open source →- take into account that IDN functions in PHP are limited to 61 characters
-
1.12.917 Oct 2018 -
1.12.825 Jun 2018 -
1.12.711 May 2018 -
1.12.630 Apr 2018 -
1.12.524 Apr 2018 -
1.12.402 Mar 2018 -
1.12.326 Feb 2018 -
1.12.205 Feb 2018 -
1.12.102 Feb 2018 -
1.12.028 Dec 2017 -
1.11.708 Nov 2017 -
1.11.601 Nov 2017 -
1.11.530 Oct 2017 -
1.11.430 Oct 2017 -
1.11.326 Oct 2017