PHPackages                             rollerworks/x509-validator-symfony - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. rollerworks/x509-validator-symfony

ActiveLibrary

rollerworks/x509-validator-symfony
==================================

X509Validator Constraints for Symfony

v0.2.0(5mo ago)16MITPHPPHP ^8.4CI passing

Since Dec 24Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/rollerworks/X509Validator-symfony)[ Packagist](https://packagist.org/packages/rollerworks/x509-validator-symfony)[ RSS](/packages/rollerworks-x509-validator-symfony/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (12)Versions (6)Used By (0)

Rollerworks X509Validator Symfony Bridge
========================================

[](#rollerworks-x509validator-symfony-bridge)

This package provides the Symfony validator/bundle integration for the [X509 TLS certificate/private-key validators](https://github.com/rollerworks/X509Validator).

The X509 TLS certificate/private-key validators validate the following:

- CA chain completeness
- PrivateKey bits length
- Signature algorithm
- OCSP Revocation status (requires internet access)
- Certificate purpose
- Certificate general validity (private-key compatibility, not expired, readable)
- Certificate hostname pattern supported, and protection against global wildcards of public-suffix length violations

Installation
------------

[](#installation)

To install this package, add `rollerworks/x509-validator-symfony` to your composer.json:

```
php composer.phar require rollerworks/x509-validator-symfony
```

Now, [Composer](https://getcomposer.org/doc/00-intro.md) will automatically download all required files, and install them for you.

[Symfony Flex](https://symfony.com/doc/current/setup/flex.html) (with contrib) is assumed to enable the Bundle and add required configuration.

Otherwise enable the following bundles:

- `Rollerworks\Component\PdbSfBridge\Bundle\RollerworksPdbBundle`
- `Rollerworks\Component\X509Validator\Symfony\Bundle\RollerworksX509ValidatorBundle`

And add the following configuration:

Details```
# config/packages/rollerworks_pdb.yaml

rollerworks_pdb:
    cache_pool: 'rollerworks.cache.public_prefix_db'
    #manager: http # either: 'http' (default), 'static' (requires manual updates) or 'mock'

framework:
    cache:
        pools:
            # This name can be changed by setting `rollerworks_pdb.cache_pool` (**Don't reuse an existing cache pool!**)
            rollerworks.cache.public_prefix_db:
                adapter: cache.adapter.array # use a persistent adapter that can be easily invalidated like cache.adapter.memcached or cache.adapter.pdo
                default_lifetime: 604800 # one week, the cache should be automatically refreshed, unless manager=static is used
```

Requirements
------------

[](#requirements)

You need at least PHP 8.2, internet access is required if you want to validate a certificate's OCSP status or automatically update the PublicSuffixList.

The public-suffix and top-level domain needs to manually updated from time to time. When internet access is available the PdbManager (provided by `rollerworks/pdb-symfony-bridge`) will automatically download the list and store it in the cache.

If no internet access is available, the local cache needs to refreshed manually. See  for instructions.

Basic Usage
-----------

[](#basic-usage)

- [Constraints](doc/constraints.md)
- [Registering validators (manual integration)](doc/integration.md)

Versioning
----------

[](#versioning)

For transparency and insight into the release cycle, and for striving to maintain backward compatibility, this package is maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:

`..`

And constructed with the following guidelines:

- Breaking backward compatibility bumps the major (and resets the minor and patch)
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit .

License
-------

[](#license)

This library is released under the [MIT license](LICENSE).

Contributing
------------

[](#contributing)

This is an open source project. If you'd like to contribute, please read the [Contributing Guidelines](https://contributing.rollerscapes.net/). If you're submitting a pull request, please follow the guidelines in the [Submitting a Patch](https://contributing.rollerscapes.net/latest/patches.html) section.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance79

Regular maintenance activity

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~235 days

Total

4

Last Release

161d ago

PHP version history (2 changes)v0.1.0PHP ^8.2

v0.2.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/f0e812c04e848e9cc3afe6e966d2b81e81308124d96ce5f54eff4db0f8db0ea9?d=identicon)[sstok](/maintainers/sstok)

---

Top Contributors

[![sstok](https://avatars.githubusercontent.com/u/904790?v=4)](https://github.com/sstok "sstok (9 commits)")

---

Tags

phpsymfonytlsvalidatorx509

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rollerworks-x509-validator-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/rollerworks-x509-validator-symfony/health.svg)](https://phpackages.com/packages/rollerworks-x509-validator-symfony)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
