PHPackages                             stwon/covpasscheck-php - 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. stwon/covpasscheck-php

ActiveLibrary

stwon/covpasscheck-php
======================

1.5.3(4y ago)61563[1 issues](https://github.com/stw-on/covpasscheck-php/issues)MITPHPPHP &gt;=8.0

Since Oct 5Pushed 4y ago2 watchersCompare

[ Source](https://github.com/stw-on/covpasscheck-php)[ Packagist](https://packagist.org/packages/stwon/covpasscheck-php)[ RSS](/packages/stwon-covpasscheck-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (5)Versions (16)Used By (0)

CovPassCheck PHP
================

[](#covpasscheck-php)

A PHP library to read and validate [EU Digital COVID Certificates](https://github.com/ehn-dcc-development/hcert-spec).

Install
-------

[](#install)

```
composer require stwon/covpasscheck-php
```

Usage
-----

[](#usage)

Currently, the library only ships with a file based trust store. You need to download and store valid certificates manually or implement your own custom `TrustStore` class. The `FileTrustStore` reads JSON files matching the schema described [here](https://github.com/Digitaler-Impfnachweis/certification-apis/blob/master/dsc-update/README.md). Note that you MUST NOT include the signature part (i.e. first line) of DSC TrustList Update API responses.

```
$trustStore = new FileTrustStore('./certs.json');
$check = new CovPassCheck($trustStore);

try {
    // This is the scanned QR code content ↓
    $certificate = $check->readCertificate('HC1:...');

    $subject = $certificate->getSubject();

    if ($certificate->isCovered(Target::COVID19, HealthCertificate::TYPE_VACCINATION | HealthCertificate::TYPE_RECOVERY)) {
        $this->line($subject->getFirstName() . ' does conform to 2G rules.');
    } else {
        $this->line($subject->getFirstName() . ' does not conform to 2G rules.');
    }
} catch (InvalidSignatureException $exception) {
    // oh noo
}
```

License
-------

[](#license)

See [LICENSE.md](./LICENSE.md).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

15

Last Release

1640d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4185d40a62682ae78e5070d9d00145fb5884fcd99bdd5a7e7adb9cd3758cdaa4?d=identicon)[timoschwarzer](/maintainers/timoschwarzer)

---

Top Contributors

[![timoschwarzer](https://avatars.githubusercontent.com/u/8849554?v=4)](https://github.com/timoschwarzer "timoschwarzer (32 commits)")

### Embed Badge

![Health badge](/badges/stwon-covpasscheck-php/health.svg)

```
[![Health](https://phpackages.com/badges/stwon-covpasscheck-php/health.svg)](https://phpackages.com/packages/stwon-covpasscheck-php)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

1195.3M72](/packages/web-auth-webauthn-lib)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)

PHPackages © 2026

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