PHPackages                             razonyang/unit-helper - 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. [API Development](/categories/api)
4. /
5. razonyang/unit-helper

ActiveLibrary[API Development](/categories/api)

razonyang/unit-helper
=====================

PSR-7 implementation for Swoole

1.0.1(3y ago)11332MITPHP

Since Sep 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/razonyang/php-unit-helper)[ Packagist](https://packagist.org/packages/razonyang/unit-helper)[ RSS](/packages/razonyang-unit-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (2)

PHP Unit Test Helpers
=====================

[](#php-unit-test-helpers)

[![Latest Stable Version](https://camo.githubusercontent.com/db64190b57cb7c97961fccdd3690b816187c9f0e01295e99143aa553d2f4ca3f/68747470733a2f2f706f7365722e707567782e6f72672f72617a6f6e79616e672f756e69742d68656c7065722f762f737461626c652e706e67)](https://packagist.org/packages/razonyang/unit-helper)[![Total Downloads](https://camo.githubusercontent.com/e2aaf5f18c6064026101b5433902c71fe16f3cde947239536b7d1eb87b781a3e/68747470733a2f2f706f7365722e707567782e6f72672f72617a6f6e79616e672f756e69742d68656c7065722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/razonyang/unit-helper)[![Build Status](https://github.com/razonyang/php-unit-helper/actions/workflows/build.yml/badge.svg)](https://github.com/razonyang/php-unit-helper/actions)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/38f8b4612d2a2cf8caa26197e95affa76dc2dae86f00173e61fa5cb9fd6ca2e0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72617a6f6e79616e672f7068702d756e69742d68656c7065722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/razonyang/php-unit-helper/?branch=main)[![Code Coverage](https://camo.githubusercontent.com/737313a64d162dd86f17dbde68129f6c876ef97fef04c21726cd403af075e03e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72617a6f6e79616e672f7068702d756e69742d68656c7065722f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/razonyang/php-unit-helper/?branch=main)[![StyleCI](https://camo.githubusercontent.com/9a0355ae3569eb42a70bb1e673be377c8418afcae024a480876ca92c89ff7edb/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3533373831373836302f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/537817860?branch=main)

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

[](#installation)

```
composer require razonyang/unit-helper --prefer-dist --dev
```

Helpers
-------

[](#helpers)

### Reflection Helper

[](#reflection-helper)

- `ReflectionHelper::invokeMethod`: invoke a non-public method.
- `ReflectionHelper::getPropertyValue`: get a non-public property's value.
- `ReflectionHelper::setPropertyValue`: set a non-public property's value.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

1333d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17720932?v=4)[Razon Yang](/maintainers/RazonYang)[@razonyang](https://github.com/razonyang)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/razonyang-unit-helper/health.svg)

```
[![Health](https://phpackages.com/badges/razonyang-unit-helper/health.svg)](https://phpackages.com/packages/razonyang-unit-helper)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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