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 today

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 43% 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

2313d 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

[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k35.7M106](/packages/propaganistas-laravel-phone)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[galahad/laravel-addressing

Laravel package providing addressing functionality

70316.6k](/packages/galahad-laravel-addressing)[yorcreative/laravel-argonaut-dto

Argonaut is a lightweight Data Transfer Object (DTO) package for Laravel that supports nested casting, recursive serialization, and validation out of the box. Ideal for service layers, APIs, and clean architecture workflows.

1062.8k1](/packages/yorcreative-laravel-argonaut-dto)[xzxzyzyz/laravel-japanese-validation

Japanese Validation For Laravel

1425.8k](/packages/xzxzyzyz-laravel-japanese-validation)

PHPackages © 2026

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