PHPackages                             siegerhansma/mailhog-testcase - 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. siegerhansma/mailhog-testcase

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

siegerhansma/mailhog-testcase
=============================

A simple testcase for testing mail in Laravel using Mailhog.

18PHP

Since Jun 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/siegerhansma/mailhog-testcase-laravel)[ Packagist](https://packagist.org/packages/siegerhansma/mailhog-testcase)[ RSS](/packages/siegerhansma-mailhog-testcase/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mailhog Testcase for Laravel
============================

[](#mailhog-testcase-for-laravel)

A simple testcase for using Mailhog with Laravel.

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

[](#installation)

Usage
-----

[](#usage)

Instead of extending the normal TestCase in your testclasses, now extend SiegerHansma\\MailhogTestcase\\MailhogTestcase. The MailhogTestcase class itself extends the base Laravel TestCase so you can still use all the methods that Laravel provides.

```
class RegisterTest extends MailhogTestCase

```

Configuration
-------------

[](#configuration)

Mailhog running on another port? We've got you covered. Simply add a mailhogBasepath property to your test class, like so.

```
    protected $mailhogBasepath = 'http://localhost:12345';

    class RegisterTest extends MailhogTestCase {

```

### API overview

[](#api-overview)

Still todo. The main Testcase is already documented.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3443339?v=4)[Sieger Hansma](/maintainers/siegerhansma)[@siegerhansma](https://github.com/siegerhansma)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/siegerhansma-mailhog-testcase/health.svg)

```
[![Health](https://phpackages.com/badges/siegerhansma-mailhog-testcase/health.svg)](https://phpackages.com/packages/siegerhansma-mailhog-testcase)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M341](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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