PHPackages                             dresong/dre-junit - 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. dresong/dre-junit

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

dresong/dre-junit
=================

a simple test unit for laravel

1.0(6y ago)02MITPHP

Since Jan 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dresong/dre-junit)[ Packagist](https://packagist.org/packages/dresong/dre-junit)[ RSS](/packages/dresong-dre-junit/feed)WikiDiscussions master Synced yesterday

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

> dresong-junit-laravel

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

> 框架要求

Laravel &gt;= 5.1

> 安装

composer require "dresong/dre-junit"

> 配置 Laravel 应用

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

'providers' =&gt; \[ Dresong\\DreJunit\\Http\\Providers\\DreJunitServiceProvider::class, \]

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

Route::get('drejunit', 'DreJunitController@index'); Route::post('drejunit', 'DreJunitController@store')-&gt;name('drejunit.store');

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity56

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

2320d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/dresong-dre-junit/health.svg)

```
[![Health](https://phpackages.com/badges/dresong-dre-junit/health.svg)](https://phpackages.com/packages/dresong-dre-junit)
```

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