PHPackages                             pverdu/x509-certificate-validator - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. pverdu/x509-certificate-validator

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

pverdu/x509-certificate-validator
=================================

A X509 Certificate validator

1.0.1(6y ago)2368MITPHPPHP &gt;=7.2CI failing

Since Jan 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/paulverdu/x509-certificate-validator)[ Packagist](https://packagist.org/packages/pverdu/x509-certificate-validator)[ RSS](/packages/pverdu-x509-certificate-validator/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (7)Versions (3)Used By (0)

X.509 Certificate Validator
===========================

[](#x509-certificate-validator)

### Features

[](#features)

- CRL (Certificate Revocation List) validation
- Expiration validation
- Signed by a Trusted CA validation (with self-signed support)

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

[](#requirements)

- PHP &gt;=7.2
- Laravel &gt;=6

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

[](#installation)

```
composer require pverdu/x509-certificate-validator`
```

The service provider should be autodiscovered, if not you can add it to your container using:

```
// ...
PVerdu\x509CertificateValidator\x509CertificateValidatorServiceProvider::class
// ...
```

Configuration
-------------

[](#configuration)

Make sure your webserver sends the client certificate to your application either via the headers or the global `$_SERVER` variable.

- For NGINX ([http://nginx.org/en/docs/http/ngx\_http\_ssl\_module.html#var\_ssl\_client\_escaped\_cert](http://nginx.org/en/docs/http/ngx_http_ssl_module.html#var_ssl_client_escaped_cert))

Add the `PVerdu\x509CertificateValidator\Middleware\CertificateValidatorMiddleware` to any routes you want the certificate to be validated on per request.

### Publish configuration

[](#publish-configuration)

If you want to change the configuration, for example to change the trusted certificate store paths, you must publish the configuration using the command below:

```
php artisan vendor:publish --provider=PVerdu\\x509CertificateValidator\\x509CertificateValidatorServiceProvider
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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 ~0 days

Total

2

Last Release

2366d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13202286?v=4)[Paul Verdu](/maintainers/paulverdu)[@paulverdu](https://github.com/paulverdu)

---

Tags

laravelvalidationx509librarycertificate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pverdu-x509-certificate-validator/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.9k](/packages/laravel-framework)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.5k](/packages/symfony-framework-bundle)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M871](/packages/laravel-socialite)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M562](/packages/shopware-core)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)

PHPackages © 2026

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