PackageTrack
Sign in Get early access

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 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 80
  1. 2.7.0 05 Jun 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.6.10...2.7.0

    Open source →
    Release notes

    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

    Open source →
  2. 2.6.10 25 Apr 2025
    Release notes

    What's Changed

    • A wildcard certificate does not cover the root domain by @styxit in #194

    New Contributors

    Full Changelog: 2.6.9...2.6.10

    Open source →
    Release notes

    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

    Open source →
  3. 2.6.9 31 Jan 2025
    Release notes

    What's Changed

    • Fix PHP 8.4 implicitly marking parameter deprecation by @jdecool in #193

    New Contributors

    Full Changelog: 2.6.8...2.6.9

    Open source →
    Release notes

    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

    Open source →
  4. 2.6.8 20 Sep 2024
    Release notes

    What's Changed

    • Implicit conversion from float to int Warning by @cord in #192

    New Contributors

    • @cord made their first contribution in #192

    Full Changelog: 2.6.7...2.6.8

    Open source →
    Release notes

    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

    Open source →
  5. 2.6.7 28 Jun 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.6.6...2.6.7

    Open source →
    Release notes

    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

    Open source →
  6. 2.6.6 07 Jun 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.6.5...2.6.6

    Open source →
    Release notes

    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

    Open source →
  7. 2.6.5 25 Mar 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.6.4...2.6.5

    Open source →
    Release notes

    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

    Open source →
  8. 2.6.4 20 Feb 2024
    Release notes
    • fix errors
    Open source →
    Release notes
    • fix errors
    Open source →
  9. 2.6.3 17 Feb 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.6.2...2.6.3

    Open source →
    Release notes

    What's Changed

    • Suppress stream_socket_client warnings 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

    Open source →
  10. 2.6.2 17 Oct 2023
    Release notes

    What's Changed

    • Use stream_socket_client() exception for better message by @rudiedirkx in #183

    Full Changelog: 2.6.1...2.6.2

    Open source →
    Release notes

    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

    Open source →
  11. 2.6.1 29 Sep 2023
    Release notes
    • improve bc
    Open source →
  12. 2.6.0 04 Sep 2023
    Release notes

    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

    Open source →
  13. 2.5.0 10 Aug 2023
    Release notes

    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

    Open source →
  14. 2.4.1 07 Aug 2023
    Release notes

    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

    Open source →
  15. 2.4.0 28 Oct 2022
    Release notes

    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

    Open source →
  16. 2.3.0 07 Sep 2022
    Release notes

    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

    Open source →
  17. 2.2.0 16 Jun 2022
    Release notes

    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

    Open source →
  18. 2.1.3 06 Jun 2022
    Release notes

    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

    Open source →
  19. 2.1.2 17 Nov 2021
    Release notes
    • Make compatible with PHP 8.2

    Full Changelog: https://github.com/spatie/ssl-certificate/compare/2.1.1...2.1.2

    Open source →
  20. 2.1.1 03 Oct 2021
    Release notes
    • improve URL validation
    Open source →
  21. 2.1.0 10 Aug 2021
    Release notes
    • add toArray and createFromArray
    Open source →
  22. 2.0.3 08 Jul 2021
    Release notes
    • add support for custom ports (#143)
    Open source →
  23. 2.0.2 04 Jul 2021
    Release notes
    • support spatie/macroable v2(#142)
    Open source →
  24. 2.0.1 30 Mar 2021
    Release notes
    • fix edge case when using serialized certificates
    Open source →
  25. 2.0.0 30 Mar 2021
    Release notes
    • require PHP 8+
    • drop support for PHP 7.x
    • use PHP 8 syntax where possible
    Open source →
  26. 1.22.1 15 Feb 2021
    Release notes
    • fix getOrganization method which always returned an empty result (#139)
    Open source →
  27. 1.22.0 09 Nov 2020
    Release notes
    • allow set followLocation to be set to zero, ignoring redirect (#134)
    Open source →
  28. 1.21.1 03 Nov 2020
    Release notes
    • add support for PHP 8.0
    • drop support for PHP 7.3 and below
    Open source →
  29. 1.21.0 19 Oct 2020
    Release notes
    • add option to disable certificate validation in createForHostName (#132)
    Open source →
  30. 1.20.0 07 Oct 2020
    Release notes
    • add withSocketContextOptions
    Open source →
  31. 1.19.1 01 Apr 2020
    Release notes
    • createFromFile static method bugfix #127
    Open source →
  32. 1.19.0 21 Mar 2020
    Release notes
    • add lifespan in days
    Open source →
  33. 1.18.0 18 Mar 2020
    Release notes
    • get details from a certificate from string (#123)
    Open source →
  34. 1.17.2 24 Jan 2020
    Release notes
    • throw exception instead of displaying warning when download fails
    Open source →
  35. 1.17.1 24 Jan 2020
    Release notes
    • add missing exception for invalid IP address (#121)
    Open source →
  36. 1.17.0 24 Jan 2020
    Release notes
    • add function to get certificate for hostname from IP address (#119)
    Open source →
  37. 1.16.1 18 Nov 2019
    Release notes
    • set SSL option param 'peer_name' with hostname value (#113)
    Open source →
  38. 1.16.0 30 Sep 2019
    Release notes
    • expose the remote address that served the certificates in the downloader (#110)
    Open source →
  39. 1.15.0 22 Jul 2019
    Release notes
    • internals cleanup
    • drop support for PHP 7.1 and below
    Open source →
  40. 1.14.1 22 Jul 2019
    Release notes
    • add check for missing 'INTL_IDNA_VARIANT_UTS46' constant
    Open source →
  41. 1.14.0 04 Jul 2019
    Release notes
    • add fingerprint sha256
    Open source →
  42. 1.13.1 23 May 2019
    Release notes
    • Fix SSL check for IP addresses that serve a valid SSL, i.e. 1.1.1.1
    Open source →
  43. 1.13.0 19 Feb 2019
    Release notes
    • add specific exceptions
    Open source →
  44. 1.12.11 06 Dec 2018
    Release notes
    • add support for detecting pre-certificates
    Open source →
  45. 1.12.10 03 Dec 2018
    Release notes
    • take into account that IDN functions in PHP are limited to 61 characters
    Open source →
  46. 1.12.9 17 Oct 2018
    Release notes
    • allow Carbon v2
    Open source →
  47. 1.12.8 25 Jun 2018
    Release notes
    • idn_to_ascii is not required anymore
    Open source →
  48. 1.12.7 11 May 2018
    Release notes
    • use port 443 by default
    Open source →
  49. 1.12.6 30 Apr 2018
    Release notes
    • normalize all hostnames to lowercase when checking validity
    Open source →
  50. 1.12.5 24 Apr 2018
    Release notes
    • fix appliesToUrl
    Open source →
  51. 1.12.4 02 Mar 2018
    Release notes
    • add ext-intl dep to composer.json
    Open source →
  52. 1.12.3 26 Feb 2018
    Release notes
    • convert IDN to ASCII before attempting to validate
    Open source →
  53. 1.12.2 05 Feb 2018
    Release notes
    • fix bug where wildcard matching could be wrong
    Open source →
  54. 1.12.1 02 Feb 2018
    Release notes
    • close socket connection in Downloader::fetchCertificates()
    Open source →
  55. 1.12.0 28 Dec 2017
    Release notes
    • add getFingerprint()
    Open source →
  56. 1.11.7 08 Nov 2017
    Release notes
    • fixes for containsDomain: add literal and wildcard match for domains
    Open source →
  57. 1.11.6 01 Nov 2017
    Release notes
    • fix getDomains
    Open source →
  58. 1.11.5 30 Oct 2017
    Release notes
    • fix getDomains
    Open source →
  59. 1.11.4 30 Oct 2017
    Release notes
    • fix getDomain
    Open source →
  60. 1.11.3 26 Oct 2017
    Release notes
    • fix keys of array with all domain names
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive