PHPackages                             vierhang/sjunit-laravel - 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. vierhang/sjunit-laravel

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

vierhang/sjunit-laravel
=======================

A simplified version of the laravel framework unit test

1.0(6y ago)03MITPHP

Since Apr 24Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

 junit-laravel
===============

[](#-junit-laravel-)

 A simplified version of the laravel framework unit test.

框架要求
----

[](#框架要求)

Laravel &gt;= 5.1

安装
--

[](#安装)

```
$ composer require vierhang/junit-laravel
```

配置
--

[](#配置)

Laravel应用

在 `config/app.php` 注册 ServiceProvider 和 Facade (Laravel 5.5 无需手动注册)

'providers' =&gt; \[ Vierhang\\JunitLaravel\\Providers\\SJunitServiceProvider::class, \]

然后在浏览器中直接访问路由

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

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

2213d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/vierhang-sjunit-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/vierhang-sjunit-laravel/health.svg)](https://phpackages.com/packages/vierhang-sjunit-laravel)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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