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

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

smallzhu/unit-laravel
=====================

a simple version laravel componment test

1.0(6y ago)03MITPHP

Since Nov 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/pp199606/unit-laravel)[ Packagist](https://packagist.org/packages/smallzhu/unit-laravel)[ RSS](/packages/smallzhu-unit-laravel/feed)WikiDiscussions master Synced today

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

smallzhu/unit-laravel
---------------------

[](#smallzhuunit-laravel)

这里是对于框架的介绍

对于框架的要求
-------

[](#对于框架的要求)

Laravel &gt;=5.5 &amp; php &gt;= 7.1.3;

安装方式
----

[](#安装方式)

```
composer require smallzhu/unit-laravel;
```

配置方式
----

[](#配置方式)

laravel&lt;=5.5 手动配置 `Smallzhu\UnitLaravel\Providers\UnitServiceProvider::class` 服务到config/app.php服务中

解释路由
----

[](#解释路由)

```
Route::get('/', 'unitController@index');
Route::get('test', 'TestController@index');
Route::post('/', 'unitController@store')->name('unit.store');
```

###  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

Maturity57

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

2369d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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