PHPackages                             grafite/mission-control-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. grafite/mission-control-laravel

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

grafite/mission-control-laravel
===============================

The Laravel package for Mission Control (Grafite Inc)

v3.7.7(8mo ago)25.4k↓50%1[4 issues](https://github.com/GrafiteInc/Mission-Control-Laravel-Package/issues)1MITPHPPHP &gt;=7.3|&gt;=8.0CI passing

Since Aug 24Pushed 8mo agoCompare

[ Source](https://github.com/GrafiteInc/Mission-Control-Laravel-Package)[ Packagist](https://packagist.org/packages/grafite/mission-control-laravel)[ RSS](/packages/grafite-mission-control-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (45)Used By (1)

Mission Control Laravel Package
===============================

[](#mission-control-laravel-package)

[![Build Status](https://github.com/GrafiteInc/Mission-Control-Laravel-Package/workflows/PHP%20Package%20Tests/badge.svg?branch=main)](https://github.com/GrafiteInc/Mission-Control-Laravel-Package/actions?query=workflow%3A%22PHP+Package+Tests%22)[![Packagist](https://camo.githubusercontent.com/30f13ce3665cd343658e1ddf13f89f1046e9c9e3c1663e24e019645d8b2f7f4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f677261666974652f6d697373696f6e2d636f6e74726f6c2d6c61726176656c2e737667)](https://packagist.org/packages/grafite/mission-control-laravel)[![license](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://packagist.org/packages/grafite/mission-control-laravel)

**Mission Control Laravel Package** - Send data to Grafite's Mission Control system to stay in control of your applications.

Grafite's Mission Control is an elegant Application Performance Management system. Forget being inundated with hundreds of charts and complex configurations for CMS websites, custom E-commerce platforms etc. Utilize the simple user interface, with specific data for high demand moments. Get notifications within minutes of your system being overloaded, or high levels of errors being triggered. Set it up in less than 5 minutes with your next deployment, and take back your weekends.

Requirements
------------

[](#requirements)

1. PHP 7.3+

### Composer

[](#composer)

```
composer require grafite/mission-control-laravel
```

### Environment Variables

[](#environment-variables)

You need to add these variables to your environment. These will be the format for apps deployed with Laravel FORGE.

> Just remember you need to enable the logs on your server - see below for info

```
MISSION_CONTROL_USER_TOKEN={api_token}
MISSION_CONTROL_PROJECT_KEY={project_key}
MISSION_CONTROL_PROJECT_UUID={project_uuid} // required for JS error reporting

```

### Publishing Configuration

[](#publishing-configuration)

```
php artisan vendor:publish --provider="Grafite\MissionControlLaravel\GrafiteMissionControlLaravelProvider"
```

Blade Directives
----------------

[](#blade-directives)

You may wish to tap into the JavaScript error reporting feature. If so you need to do simply add the following to your header:

```
@missionControl

```

It will inject a JS error trace with an window listener for errors.

### Issues

[](#issues)

By default Mission Control will log all exceptions and logs from any environment you specify in the config. You can disable this by removing all environments. Otherwise you can log things manually.

Issues lets you peak into your exceptions or any flagged messages you'd like to track. You can do so using the following methods:

```
use Grafite\MissionControlLaravel\Issue;

try {
    // do some code
} catch (Exception $e) {
    app(Issue::class)->exception($e);
}

```

Or if you just want to flag an potential issue or concern in your applicaiton:

```
use Grafite\MissionControlLaravel\Issue;

app(Issue::class)->log('Anything you want to say goes here', 'tag');

```

##### Tags

[](#tags)

Tags can be any terminology you want, to help sort through your issues.

### Notify

[](#notify)

You can easily give yourself tagged notifications for your applications throuh this handy service:

```
use Grafite\MissionControlLaravel\Notify;

app(Notify::class)->send('This is a title', 'info', 'This is a custom message');

```

### Mission Control Report

[](#mission-control-report)

The Report CRON job for Mission Control lets you send back to Mission Control data about the performance of your application.

Then if you're using FORGE (default setup) you can add the following to the Scheduled Jobs:

```
COMMAND: php /home/forge/{domain}/artisan mission-control:report
USER: forge
FREQUENCY: Custom
CUSTOM SCHEDULE: */5 * * * *

```

[![Forge Screenshot](https://camo.githubusercontent.com/5970b0a8103dd87310881d0097608466e81b5c5c67812c4c4df336172c3c6f37/68747470733a2f2f6765746d697373696f6e636f6e74726f6c2e696f2f696d672f666f7267655f73637265656e73686f742e706e67)](https://camo.githubusercontent.com/5970b0a8103dd87310881d0097608466e81b5c5c67812c4c4df336172c3c6f37/68747470733a2f2f6765746d697373696f6e636f6e74726f6c2e696f2f696d672f666f7267655f73637265656e73686f742e706e67)

If not simply add this to your `CRONTAB`:

```
*/5 * * * * php /{app-path}/artisan mission-control:report

```

For Security Measures
---------------------

[](#for-security-measures)

```
COMMAND: php /home/forge/{domain}/artisan mission-control:virus-scan
USER: forge
FREQUENCY: Custom
CUSTOM SCHEDULE: 0 1 * * *

```

### Install ClamAV

[](#install-clamav)

```
sudo apt-get install clamav clamav-daemon mailutils -y
sudo service clamav-freshclam stop
sudo freshclam

```

### PHPUnit Settings

[](#phpunit-settings)

Your tests may begin to fail, if this happens just add these environment variables to your `phpunit.xml` files. You can also add them directly to your CI tool of choice.

```

```

License
-------

[](#license)

Mission Control PHP Package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

### Bug Reporting and Feature Requests

[](#bug-reporting-and-feature-requests)

Please add as many details as possible regarding submission of issues and feature requests

### Disclaimer

[](#disclaimer)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance40

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 98.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 ~61 days

Recently: every ~53 days

Total

43

Last Release

255d ago

Major Versions

v1.0.4 → v2.0.02021-03-25

v2.4.0 → v3.0.02023-04-02

PHP version history (2 changes)v1.0.0PHP &gt;=7.1

v2.0.0PHP &gt;=7.3|&gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/81d026d950739c978b844ac79e6b454e7fedc95ceffdcc4da09893c2497c7255?d=identicon)[mlantz](/maintainers/mlantz)

---

Top Contributors

[![mlantz](https://avatars.githubusercontent.com/u/1065551?v=4)](https://github.com/mlantz "mlantz (107 commits)")[![sudden-break](https://avatars.githubusercontent.com/u/1845379?v=4)](https://github.com/sudden-break "sudden-break (2 commits)")

---

Tags

error-handlingerror-logginglaravelmission-controlnotifications

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/grafite-mission-control-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/grafite-mission-control-laravel/health.svg)](https://phpackages.com/packages/grafite-mission-control-laravel)
```

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)

PHPackages © 2026

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