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

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

fupeng/junit-laravel
====================

A simplified version of the laravel framework unit test

1.0(6y ago)02MITPHP

Since Jul 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/fupeng0404/junit-laravel)[ Packagist](https://packagist.org/packages/fupeng/junit-laravel)[ RSS](/packages/fupeng-junit-laravel/feed)WikiDiscussions master Synced today

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

 junit-laravel
===============

[](#-junit-laravel-)

 这是一个基于laravel框架的单元测试组件.

框架要求
----

[](#框架要求)

Laravel &gt;= 5.1

安装
--

[](#安装)

```
$ composer require fupeng/junit-laravel -vvv
```

配置
--

[](#配置)

方法1：在 "config/app.php" providers数组中注册服务提供者，增加：Fupeng\\JunitLaravel\\Providers\\JunitServiceProvider::class

方法2：在composer.json中引入该依赖，例如：

```
"extra":{
    "laravel":{
        "providers":[
            "Fupeng\\JunitLaravel\\Providers\\JunitServiceProvider"
        ]
    }
}

```

访问方式
----

[](#访问方式)

查看路由列表

```
php artisan route:list

| GET|HEAD  | junit |              | Fupeng\JunitLaravel\Http\Controllers\JunitController@index | web |
| POST      | junit | junit.store  | Fupeng\JunitLaravel\Http\Controllers\JunitController@store | web |

```

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

2477d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92ed7b608d703c20c05bde9d2780ecbe64a2158060125187f3db4ba5ef86c3b2?d=identicon)[fupeng0404](/maintainers/fupeng0404)

### Embed Badge

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

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