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

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

zhangchenxi2019/zunit-laravel
=============================

A simplified version of the laravel framework unit test

1.1(6y ago)05MITPHPPHP ^7.1.3

Since Jul 30Pushed 6y agoCompare

[ Source](https://github.com/zhangchenxi2019/zunit-laravel)[ Packagist](https://packagist.org/packages/zhangchenxi2019/zunit-laravel)[ RSS](/packages/zhangchenxi2019-zunit-laravel/feed)WikiDiscussions master Synced yesterday

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

zunit-laravel
=============

[](#zunit-laravel)

A simplified version of the laravel framework unit test.

环境要求
====

[](#环境要求)

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

安装方式
----

[](#安装方式)

```
$ composer require zhangchenxi2019/zunit-laravel -vvv
```

配置方式
----

[](#配置方式)

laravel &gt; 5.5 不需要手动配置

larvel &lt; 5.5 是需要手动配置服务到app.php 中

手动配置laravel把zunit服务引入到config/app.php中

```
   Zhangchenxi2019\ZunitLaravel\Providers\ZunitServiceProvider::class

```

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/zhangchenxi2019/zunit-laravel/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/zhangchenxi2019/zunit-laravel/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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 ~9 days

Total

2

Last Release

2469d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c422f4da643834aa2e997c65079734cdc079f364cef8465bc6149f2babaf68a?d=identicon)[zhangchenxi2019](/maintainers/zhangchenxi2019)

---

Top Contributors

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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/zhangchenxi2019-zunit-laravel/health.svg)](https://phpackages.com/packages/zhangchenxi2019-zunit-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)
