PHPackages                             semitexa/testing - 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. semitexa/testing

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

semitexa/testing
================

Semitexa Testing - automated payload and contract testing utilities for applications

2026.04.05.0855(1mo ago)0163MITPHPPHP ^8.4

Since Mar 4Pushed 1mo agoCompare

[ Source](https://github.com/semitexa/semitexa-testing)[ Packagist](https://packagist.org/packages/semitexa/testing)[ RSS](/packages/semitexa-testing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (13)Used By (3)

semitexa/testing
================

[](#semitexatesting)

Automated payload contract testing with strategy-based validation and multiple test profiles.

Purpose
-------

[](#purpose)

Validates payload contracts by executing configurable test strategies against each payload marked with `#[TestablePayload]`. Supports security, HTTP method, type enforcement, and monkey testing strategies at multiple strictness levels.

Role in Semitexa
----------------

[](#role-in-semitexa)

Depends on Core. Used by application test suites to verify that payload contracts behave correctly under various conditions without writing individual test cases per endpoint.

Key Features
------------

[](#key-features)

- `#[TestablePayload]` attribute with configurable strategies and context
- `PayloadContractTester` orchestrates strategy execution
- Strategies: `SecurityStrategy`, `HttpMethodStrategy`, `TypeEnforcementStrategy`, `MonkeyTestingStrategy`
- Profiles: `StandardProfileStrategy`, `StrictProfileStrategy`, `ParanoidProfileStrategy`
- `InProcessTransport` (direct Application call) and `HttpTransport` (HTTP mode)
- `TestsPayloads` PHPUnit trait for integration
- `PayloadMetadataFactory` extracts test metadata

Notes
-----

[](#notes)

The InProcessTransport calls `Application::handleRequest()` directly, bypassing HTTP overhead. Use HttpTransport for end-to-end testing against a running Swoole server.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance91

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.6% 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

10

Last Release

44d ago

Major Versions

1.0.10 → 2026.04.03.12402026-04-03

### Community

Maintainers

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

---

Top Contributors

[![syntaxwanderer](https://avatars.githubusercontent.com/u/1311643?v=4)](https://github.com/syntaxwanderer "syntaxwanderer (31 commits)")[![goosyboosy](https://avatars.githubusercontent.com/u/13351014?v=4)](https://github.com/goosyboosy "goosyboosy (3 commits)")[![needalicense](https://avatars.githubusercontent.com/u/13330467?v=4)](https://github.com/needalicense "needalicense (1 commits)")

---

Tags

contractspayloadsphpunitsemitexatestingtestingphpunitcontractssemitexapayloads

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/semitexa-testing/health.svg)

```
[![Health](https://phpackages.com/badges/semitexa-testing/health.svg)](https://phpackages.com/packages/semitexa-testing)
```

###  Alternatives

[phpunit/phpunit

The PHP Unit Testing framework.

20.0k910.7M134.8k](/packages/phpunit-phpunit)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[codedungeon/phpunit-result-printer

PHPUnit Pretty Result Printer

1.2k8.8M397](/packages/codedungeon-phpunit-result-printer)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69617.9M510](/packages/spatie-phpunit-snapshot-assertions)[dg/bypass-finals

Removes final keyword from source code on-the-fly and allows mocking of final methods and classes

57026.3M456](/packages/dg-bypass-finals)[phpunit/phpunit-selenium

Selenium Server integration for PHPUnit

59610.9M150](/packages/phpunit-phpunit-selenium)

PHPackages © 2026

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