PHPackages                             lunr/halo - 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. lunr/halo

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

lunr/halo
=========

Lunr.Halo is a set of PHPUnit helper libraries.

0.11.0(1y ago)228.1k↓42.9%4[1 issues](https://github.com/lunr-php/lunr.halo/issues)14MITPHPPHP &gt;=8.1CI passing

Since Aug 3Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/lunr-php/lunr.halo)[ Packagist](https://packagist.org/packages/lunr/halo)[ Docs](https://github.com/lunr-php/lunr.halo)[ RSS](/packages/lunr-halo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (18)Used By (14)

Lunr.Halo
=========

[](#lunrhalo)

[![build status](https://github.com/lunr-php/lunr.halo/actions/workflows/php-tests.yml/badge.svg)](https://github.com/lunr-php/lunr.halo/actions/workflows/php-tests.yml/badge.svg) [![codecov](https://camo.githubusercontent.com/b158e9b6a6ffd972bc8efe6641adb3e631c8099a681b39655ca79e1e6d566e18/68747470733a2f2f636f6465636f762e696f2f67682f6c756e722d7068702f6c756e722e68616c6f2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/lunr-php/lunr.halo)

Lunr.Halo is a set of PHPUnit helper libraries.

- `LunrBaseTestCase` extends `PHPUnit\Framework\TestCase` and offers convenience methods to access class methods/properties using reflection as well as mocking functions/methods using uopz (PHP 7) and runkit (PHP 5).
- `CallbackMock` is a Mock class to help test callbacks
- `FluidInterfaceMock` is a Mock class to help test methods containing fluid interface calls.

Installation
------------

[](#installation)

- Install Lunr.Halo with Composer or with your own installer.
- Lunr.Halo follows the [semantic versioning](https://semver.org) standards.

Community
---------

[](#community)

- Follow us on [GitHub](https://github.com/lunr-php/lunr.halo).

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

[](#contributing)

Lunr.Halo is an Open Source, community-driven project. Join by contributing code or documentation.

If you encounter any issues when using Lunr.Halo you can report them [on github](https://github.com/lunr-php/lunr.halo/issues)

About Us
--------

[](#about-us)

Lunr.Halo development is spearheaded by [Move](https://moveagency.com).

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance54

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 84.2% 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 ~216 days

Recently: every ~111 days

Total

12

Last Release

464d ago

PHP version history (4 changes)0.5.0PHP 5.6.\* || 7.\*

0.6.0PHP 7.\*

0.7.0PHP &gt;=7.4

0.8.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d947cb57fe64548b6f9eda414f1add9b39e62200c6f509af20db0119bb8b245?d=identicon)[pprkut](/maintainers/pprkut)

---

Top Contributors

[![pprkut](https://avatars.githubusercontent.com/u/56635?v=4)](https://github.com/pprkut "pprkut (224 commits)")[![SMillerDev](https://avatars.githubusercontent.com/u/1484494?v=4)](https://github.com/SMillerDev "SMillerDev (39 commits)")[![tardypad](https://avatars.githubusercontent.com/u/6368493?v=4)](https://github.com/tardypad "tardypad (3 commits)")

---

Tags

lunrone-flowossphpphpunitmockingunit-tests

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lunr-halo/health.svg)

```
[![Health](https://phpackages.com/badges/lunr-halo/health.svg)](https://phpackages.com/packages/lunr-halo)
```

###  Alternatives

[dg/bypass-finals

Removes final keyword from source code on-the-fly and allows mocking of final methods and classes

57026.3M456](/packages/dg-bypass-finals)[elliotchance/concise

Concise is test framework for using plain English and minimal code, built on PHPUnit.

45223.8k4](/packages/elliotchance-concise)[janmarek/mockista

Mockista is library for mocking, which I've written, because I find mocking in PHPUnit awful.

29221.0k28](/packages/janmarek-mockista)[sirbrillig/spies

Easier spies, stubs, and mocking for PHP tests

2666.9k3](/packages/sirbrillig-spies)[code-distortion/adapt

A Laravel package that builds databases for your tests, improving their speed.

2835.5k](/packages/code-distortion-adapt)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
