PHPackages                             hampel/systemtest - 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. hampel/systemtest

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

hampel/systemtest
=================

Laravel package for testing or troublshooting various subsystems

1.11.0(2y ago)0139MITPHPPHP ^7.4|^8.0

Since Mar 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hampel/systemtest)[ Packagist](https://packagist.org/packages/hampel/systemtest)[ Docs](https://github.com/hampel/systemtest)[ RSS](/packages/hampel-systemtest/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (19)Used By (0)

System Test for Laravel
=======================

[](#system-test-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f9fbb98517634a55c82311638f9a31f41ad29f29b10c872e72a43e6f32b9b83d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68616d70656c2f73797374656d746573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hampel/systemtest)[![Total Downloads](https://camo.githubusercontent.com/ff2fa18d22b1dc670e2110c295c6dd411472b1b85402848f72ad27807f04afd8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68616d70656c2f73797374656d746573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hampel/systemtest)[![Open Issues](https://camo.githubusercontent.com/19ee750dc96c7726503b790a31857173b93d4cd0d4f72887e1ebe6af41054a9d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7261772f68616d70656c2f73797374656d746573742e7376673f7374796c653d666c61742d737175617265)](https://github.com/hampel/systemtest/issues)[![License](https://camo.githubusercontent.com/b76e1d61b6410c647218ff983b00baf0994ed4d3b60ff50b189819d6a9a3b765/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f68616d70656c2f73797374656d746573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hampel/systemtest)

This package provides a number of console commands to test various subsystems (email, logging, notifications, etc) of a Laravel system in production. It is primarily intended for troubleshooting issues on a newly deployed application or if you've moved to a new server - identifying permissions errors and such.

By [Simon Hampel](mailto:simon@hampelgroup.com)

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

[](#installation)

To install using composer, run the following command:

`composer require hampel/systemtest`

Usage
-----

[](#usage)

Once installed, new artisan console commands will become available:

**Mail**

Ensure that mail has been configured and then run the `test:mail` console command with a destination email address as the parameter.

```
artisan test:mail foo@example.com
```

TODO: add support for sending via the mail queue

**Log**

Run the `test:log` console command to write a series of logs covering all severities to the default log file.

The `--channel` option can be used to specify any other configured logging channel.

```
artisan test:log --channel=syslog
```

**Filesystem**

Run the `test:file` console command to list all files available on the default disk.

The `--disk` option can be used to specify any other configured disk (eg `local` or `public`).

```
artisan test:file --disk=public
```

Note that no files are written to the disk.

**Cache**

Run the `test:cache` console command to write test writing to and retrieving from the default cache store.

The `--store` option can be used to specify any other configured cache store.

```
artisan test:cache --store=array
```

The test will generate a random key, write it to the cache (provided the key doesn't already exist), increment the value, then retrieve and delete the key - checking that the returned value is as expected.

**Schedule**

Run the `test:schedule` console command to output details of scheduled commands to the console.

**Upload**

Run the `test:upload ` console command to upload the file at `` to your default filesystem disk and report back on the time taken.

The `--disk` option can be used to specify any configured disk (eg `local` or `s3`).

```
artisan test:file /path/to/foo.jpg --disk=s3
```

Note that the file will be uploaded to the root of the disk and then deleted - so both write and delete permissions are required.

A large test file such as those used by the [Linode Speedtest](https://www.linode.com/speedtest) are good for testing upload speeds.

**Notifications**

Run the `test:notification  ` console command to send a notification to the selected channel.

Currently supported channels are `mail` and `slack`. The destination must also be specified, for mail that would be the email address to send to and for Slack it would be the inbound webhook URL.

For example:

```
artisan test:notification mail foo@example.com

artisan test:notification slack https://hooks.slack.com/services/...
```

Be sure to check your inbox or Slack channel for a test notification message.

###  Health Score

31

↓

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity74

Established project with proven stability

 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

Every ~110 days

Recently: every ~84 days

Total

18

Last Release

732d ago

PHP version history (2 changes)1.10.1PHP ^7.4

1.10.2PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b2e02745af0cfa73e5f00eb8faf965a13296351e62f4802cc76a148cdbc95dbd?d=identicon)[hampel](/maintainers/hampel)

---

Top Contributors

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

---

Tags

laravelproductiontestingtroubleshootingfilesystemtestlaravelloggingemailnotificationscache

### Embed Badge

![Health badge](/badges/hampel-systemtest/health.svg)

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

###  Alternatives

[kirschbaum-development/mail-intercept

A test package for intercepting email sent from Laravel

112407.9k1](/packages/kirschbaum-development-mail-intercept)

PHPackages © 2026

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