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

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

fgc1101/fgcunit-laravel
=======================

这是一个简单的单元测试

v1.0(5y ago)02MITPHP

Since Jun 14Pushed 5y ago1 watchersCompare

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

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

> fgc1101-fgcjunit-laravel

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

> 框架要求

Laravel &gt;= 5.1

> 安装

composer require fgc1101/fgcjunit-laravel"

> 配置 Laravel 应用

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

'providers' =&gt; \[ Simple\\FgcunitLaravel\\FgcunitServiceProvide::class, \]

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

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

2159d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1bb16d15a2d218d7c89904bec30b3c4b7d96f805871e29dab9676a7f25ba87c9?d=identicon)[fgc1101](/maintainers/fgc1101)

---

Top Contributors

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

### Embed Badge

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

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