PHPackages                             ragaga/certificate-checker - 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. [Security](/categories/security)
4. /
5. ragaga/certificate-checker

ActiveLibrary[Security](/categories/security)

ragaga/certificate-checker
==========================

Cryptopro, Rutoken Certificate checker library

1.0.3(5y ago)112MITPHPPHP ^7.2

Since Sep 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Ragaga/certificate-checker)[ Packagist](https://packagist.org/packages/ragaga/certificate-checker)[ RSS](/packages/ragaga-certificate-checker/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

PHP ^7.2 CryptoPro/Rutoken Certificate checker
==============================================

[](#php-72-cryptoprorutoken-certificate-checker)

Installation:

```
composer require ragaga/certificate-checker

```

or add to composer.json in require

```
"ragaga/certificate/checker": "^1.0"

```

Usage:
------

[](#usage)

```
use Ragaga\CertificateChecker\CertificateChecker;
use Ragaga\CertificateChecker\CheckerFactory;
use Ragaga\CertificateChecker\Enums\CryptoProvider;
use Ragaga\CertificateChecker\Checkers\RutokenChecker;
use Ragaga\CertificateChecker\Checkers\CryptoproChecker;
use Ragaga\CertificateChecker\SignatureData;
```

Variations of factory creation

- Default

```
$factory = new CheckerFactory();
```

- Customize on creation

```
$factory = new CheckerFactory([
  CryptoProvider::CRYPTOPRO => CryptoproChecker::class,
  CryptoProvider::RUTOKEN =>  function(){
      $tmpDir = '/tmp/';
      $cryptoproPath = '/opt/cprocsp/bin/amd64/cryptcp';
      return new RutokenChecker($cryptoproPath, $tmpDir);
  }
]);
```

- Rebound after creation

```
$factory = new CheckerFactory();
$factory->bind(CryptoProvider::RUTOKEN, function(){
   $tmpDir = '/tmp/';
   $cryptoproPath = '/opt/cprocsp/bin/amd64/cryptcp';
   return new RutokenChecker($cryptoproPath, $tmpDir);
});
```

Check signature
---------------

[](#check-signature)

```
$signatureData = new SignatureData('source', 'signature', CryptoProvider::RUTOKEN);

$checker = new CertificateChecker($factory);

$signatureValid = $checker->isSignatureValid($signatureData);
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~84 days

Total

4

Last Release

1860d ago

### Community

Maintainers

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

---

Top Contributors

[![gchernykh](https://avatars.githubusercontent.com/u/49484920?v=4)](https://github.com/gchernykh "gchernykh (6 commits)")[![Ragaga](https://avatars.githubusercontent.com/u/1582216?v=4)](https://github.com/Ragaga "Ragaga (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ragaga-certificate-checker/health.svg)

```
[![Health](https://phpackages.com/badges/ragaga-certificate-checker/health.svg)](https://phpackages.com/packages/ragaga-certificate-checker)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M143](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

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