PHPackages                             libresign/behat-tsa-extension - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. libresign/behat-tsa-extension

ActiveLibrary[Testing &amp; Quality](/categories/testing)

libresign/behat-tsa-extension
=============================

Behat extension that boots a local RFC3161 TSA server for deterministic integration tests

v0.1.1(3mo ago)04.6k↑2250%AGPL-3.0-or-laterPHPPHP ^8.2CI passing

Since Apr 4Pushed 3mo agoCompare

[ Source](https://github.com/LibreSign/behat-tsa-extension)[ Packagist](https://packagist.org/packages/libresign/behat-tsa-extension)[ RSS](/packages/libresign-behat-tsa-extension/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (10)Versions (4)Used By (0)

behat-tsa-extension
===================

[](#behat-tsa-extension)

Behat extension that starts a local RFC3161 TSA server for deterministic integration tests.

Why
---

[](#why)

Public TSA providers can introduce flaky CI runs because of network and availability variance. This extension boots a local TSA responder during Behat execution and exposes its URL through an environment variable.

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

[](#installation)

composer require --dev libresign/behat-tsa-extension

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

[](#configuration)

```
default:
  extensions:
    LibreSign\Behat\TsaExtension\ServiceContainer\TsaExtension:
      enabled: true
      host: 127.0.0.1
      port: 0
      path: /tsr
      policy_oid: 1.2.3.4.1
      env_var: LIBRESIGN_TSA_URL
      verbose: false
```

How it works
------------

[](#how-it-works)

- On suite start, it creates a temporary local TSA setup (CA, TSA cert, OpenSSL config).
- It starts a local HTTP server that replies with a valid RFC3161 response using OpenSSL.
- It exports the final endpoint in the configured environment variable.
- On suite finish, it stops the server and cleans temporary files.

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

[](#requirements)

- PHP 8.2+
- OpenSSL with openssl ts support
- Behat 3.13+

License
-------

[](#license)

AGPL-3.0-or-later

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance82

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

2

Last Release

92d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/79158919?v=4)[LibreSign](/maintainers/libresign)[@LibreSign](https://github.com/LibreSign)

---

Top Contributors

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

---

Tags

behatphprfc3161testingtsaBehatrfc3161nextcloudtsalibresign

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/libresign-behat-tsa-extension/health.svg)

```
[![Health](https://phpackages.com/badges/libresign-behat-tsa-extension/health.svg)](https://phpackages.com/packages/libresign-behat-tsa-extension)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)

PHPackages © 2026

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