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

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

wunit/wunit-laravel
===================

A simplified version of the laravel framework unit test

1.0(6y ago)07MITPHP

Since Oct 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/linqianwxn/wunit-laravel)[ Packagist](https://packagist.org/packages/wunit/wunit-laravel)[ RSS](/packages/wunit-wunit-laravel/feed)WikiDiscussions master Synced 2w ago

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

wunit/wunit-laravel
===================

[](#wunitwunit-laravel)

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

框架要求
----

[](#框架要求)

Laravel &gt;= 5.1 &amp; PHP &gt; 7.1.3

安装
--

[](#安装)

```
composer require "wunit/wunit-laravel"
```

配置
--

[](#配置)

### Laravel 应用

[](#laravel-应用)

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

```
'providers' => [
    // ...
    Wunit\WunitLaravel\Providers\WunitServiceProvide::class,
]
```

解除路由

```
Route::get('/', 'WunitController@index');
Route::post('/', 'WunitController@store')->name('wunit.store');
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

2436d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

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

14228.7M341](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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