PHPackages                             rsj/unit-test - 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. rsj/unit-test

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

rsj/unit-test
=============

test unit

02PHP

Since Jan 4Pushed 5y agoCompare

[ Source](https://github.com/rsj904989464/UnitTest)[ Packagist](https://packagist.org/packages/rsj/unit-test)[ RSS](/packages/rsj-unit-test/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

> unit-test

方便与laravel框架中对于某一个类的方法调试；类似于单元测试

> 框架要求

Laravel &gt;= 5.1

> 安装

composer require "rsj/unit-test"

> Laravel 配置

在 `config/app.php` 注册 ServiceProvider

'providers' =&gt; \[ Rsj\\UnitTest\\Providers\\UnitServiceProvider::class, \]

> 浏览器中直接访问路由

Route::get('/', 'SJunitController@index'); Route::post('/', 'SJunitController@store')-&gt;name('junit.store');

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity31

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rsj-unit-test/health.svg)

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M360](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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