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

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

lixiyong/lunit-laravel
======================

A simplified version of the laravel framework unit test

1.3(6y ago)08MITPHP

Since Nov 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lixiyongtry/lunit-laravel)[ Packagist](https://packagist.org/packages/lixiyong/lunit-laravel)[ RSS](/packages/lixiyong-lunit-laravel/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

> lixiyong-ljunit-laravel

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

> 框架要求

Laravel &gt;= 5.1

> 安装

composer require "lixiyong/lunit-laravel"

> 配置 Laravel 应用

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

'providers' =&gt; \[ Lixiyong\\LunitLaravel\\LunitServiceProvide::class, \]

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

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

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

4

Last Release

2427d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

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

14429.2M361](/packages/dms-phpunit-arraysubset-asserts)[gong023/assert_chain

enable you to use phpunit assert with method chain

1478.9k3](/packages/gong023-assert-chain)

PHPackages © 2026

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