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(4y ago)112MITPHPPHP ^7.2

Since Sep 18Pushed 4y 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 5d 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 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

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

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

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

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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