PHPackages                             aschmelyun/larametrics - 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. aschmelyun/larametrics

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

aschmelyun/larametrics
======================

A self-hosted metrics and notifications platform for Laravel apps

v1.2.1(6y ago)63211.2k52MITCSSPHP ^7.0

Since Oct 23Pushed 2y ago17 watchersCompare

[ Source](https://github.com/aschmelyun/larametrics)[ Packagist](https://packagist.org/packages/aschmelyun/larametrics)[ RSS](/packages/aschmelyun-larametrics/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (11)Used By (0)

Larametrics
===========

[](#larametrics)

[![Current Version](https://camo.githubusercontent.com/e85bc3e0d4db26462707bd34213d02336593935e97d744a9589e6b50e5c880b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617363686d656c79756e2f6c6172616d6574726963732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aschmelyun/larametrics)[![License](https://camo.githubusercontent.com/fe140c4d6dab1a6ceb27cee71f1e88b4b6981af60bb9069856ce09e8f59eb83b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f617363686d656c79756e2f6c6172616d6574726963732e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/fe140c4d6dab1a6ceb27cee71f1e88b4b6981af60bb9069856ce09e8f59eb83b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f617363686d656c79756e2f6c6172616d6574726963732e7376673f7374796c653d666c61742d737175617265)[![Build Status](https://camo.githubusercontent.com/30705e9e0705d0f363c1ebb74546a1b33d5f83671f1d5b38625e02db56027c86/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f617363686d656c79756e2f6c6172616d6574726963732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/aschmelyun/larametrics)[![Total Downloads](https://camo.githubusercontent.com/993f69e54e08dede3a8cf0fb72e7c9252e53ef131b28ec19ca021161d1cbd2d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617363686d656c79756e2f6c6172616d6574726963732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aschmelyun/larametrics)

Important

This project has been archived and is currently not in active development. I recommend using [Laravel Pulse](https://pulse.laravel.com) as a fantastic production-ready package to capture requests, model changes, and application usage.

A self-hosted metrics and notifications platform for Laravel apps, Larametrics records and notifies you of changes made to models, incoming requests, and messages written to the log.

A full version of the docs can be found [here](https://larametrics.com/docs), below you'll find a quick 'Getting Started' guide.

[![Screenshot of Larametrics Dashboard](https://camo.githubusercontent.com/3ffd682db0a0b745f30474ed7ca66122802b64512baa19e169745b00684de405/68747470733a2f2f692e696d6775722e636f6d2f49734145734b6e2e706e67)](https://camo.githubusercontent.com/3ffd682db0a0b745f30474ed7ca66122802b64512baa19e169745b00684de405/68747470733a2f2f692e696d6775722e636f6d2f49734145734b6e2e706e67)

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

[](#requirements)

- PHP 5.6.4 or higher
- Laravel 5.2 or higher
- guzzlehttp/guzzle (if notifications enabled)

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

[](#installation)

Larametrics is installed as a standalone package through Composer:

```
composer require aschmelyun/larametrics
```

After Composer finishes up, you'll have to add the following line to your `config/app.php` file if you're not on Laravel 5.5 or higher:

```
Aschmelyun\Larametrics\LarametricsServiceProvider::class
```

Additionally, you'll want to get the config file copied over and add in the necessary database structure with:

```
php artisan vendor:publish --provider="Aschmelyun\Larametrics\LarametricsServiceProvider"
php artisan migrate
```

**Note:** Notifications use queued jobs when available to prevent delays in app response time. If you don't have this database table set up already for queues, run `php artisan queue:table && php artisan migrate`.

Displaying the Dashboard
------------------------

[](#displaying-the-dashboard)

Once you have the package tied in to your Laravel app, it starts collecting data based off of the default config file and storing it in your database. In order to view the dashboard associated with Larametrics and analyse your metrics and notifications, you'll need to add in a helper method to your routes file of choice.

```
\Aschmelyun\Larametrics\Larametrics::routes();
```

Include that where (and how) you want the dashboard to appear. For reference, all Larametrics routes are wrapped under a `/metrics` prefix, but you can adjust where you want the routes to appear.

In the following example, the Larametrics dashboard will only be viewable to people who are signed into the application, and visit `/admin/metrics`:

```
// routes/web.php
Route::group(['middleware' => 'auth', 'prefix' => 'admin'], function() {
    \Aschmelyun\Larametrics\Larametrics::routes();
});
```

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

[](#configuration)

Configuring Larametrics for use within your Laravel app takes place mainly in the `config/larametrics.php` file. Each item is broken down in the comment lines above it, describing what that item does and what value(s) it's anticipating.

There are also two .env variables you'll need to set depending on if you use notifications:

- **LARAMETRICS\_NOTIFICATION\_EMAIL**, the address that all email notifications will be routed to
- **LARAMETRICS\_NOTIFICATION\_SLACK\_WEBHOOK**, a Slack webhook configured for receiving requests and adding messages to a specified channel. More info [here](https://get.slack.help/hc/en-us/articles/115005265063-Incoming-WebHooks-for-Slack).

Additionally, there's a few other niche variables that you can set specifically for notifications. See a brief description of each below, or a more details on the documentation site.

- **LARAMETRICS\_FROM\_EMAIL**, the email address that notifications will appear to be sent from
- **LARAMETRICS\_FROM\_NAME**, the name that will appear alongside associated email notifications
- **LARAMETRICS\_MODEL\_SUBJECT**, the subject of notification emails that arrive when models are created/updated/deleted
- **LARAMETRICS\_LOG\_SUBJECT**, the subject of notification emails that arrive when an application log event is recorded
- **LARAMETRICS\_ROUTE\_SUBJECT**, the subject of notification emails that arrive when a route has been visited

Roadmap
-------

[](#roadmap)

Larametrics is still in development, constantly being optimized and attempting to be made compatible for older Laravel versions. Here's what's on the path ahead:

- Add the ability to ignore specific request paths
- Integrate custom webhooks as a notification option
- Move listeners out of root directory and into their own namespace
- Optimize front-end for mobile devices
- Expand on the notification filter options
- Integrate Twilio for text message notifications
- Optimize database querying for expired models to improve performance
- Add Artisan commands for displaying Larametrics data
- Add watcher for Queues
- Add watcher for Scheduled Tasks
- Compatibility for Laravel 4.2+

Difference to Laravel Telescope
-------------------------------

[](#difference-to-laravel-telescope)

In October 2018, Taylor Otwell announced `Laravel Telescope`, which acts as a debugging tool for Laravel applications. For a distinction between `Larametrics` and `Telescope`, please see [this discussion here](https://github.com/aschmelyun/larametrics/issues/11).

Contact Info
------------

[](#contact-info)

Have an issue? Submit it here! Want to get in touch? Feel free to reach out to me on [Twitter](https://twitter.com/aschmelyun) for any kind of general questions or comments.

License
-------

[](#license)

The MIT License (MIT). See [LICENSE.md](https://github.com/aschmelyun/larametrics/blob/master/LICENSE.md) for more details.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 77.9% 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 ~191 days

Recently: every ~376 days

Total

10

Last Release

1035d ago

Major Versions

v1.2.1 → v2.x-dev2023-07-12

PHP version history (3 changes)1.0.0PHP &gt;=5.6.4

v1.2PHP ^7.0

v2.x-devPHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/89d40a36efd670c752d8d6e488192d9ae78b9ff49503cf6b671f46d17cb67768?d=identicon)[aschmelyun](/maintainers/aschmelyun)

---

Top Contributors

[![aschmelyun](https://avatars.githubusercontent.com/u/3395980?v=4)](https://github.com/aschmelyun "aschmelyun (74 commits)")[![nowendwell](https://avatars.githubusercontent.com/u/5315824?v=4)](https://github.com/nowendwell "nowendwell (9 commits)")[![skadimoolam](https://avatars.githubusercontent.com/u/6323063?v=4)](https://github.com/skadimoolam "skadimoolam (3 commits)")[![bmillertitul](https://avatars.githubusercontent.com/u/54295408?v=4)](https://github.com/bmillertitul "bmillertitul (2 commits)")[![algm](https://avatars.githubusercontent.com/u/146385?v=4)](https://github.com/algm "algm (2 commits)")[![tanmuhittin](https://avatars.githubusercontent.com/u/7202383?v=4)](https://github.com/tanmuhittin "tanmuhittin (1 commits)")[![dellow](https://avatars.githubusercontent.com/u/1047476?v=4)](https://github.com/dellow "dellow (1 commits)")[![johannesschobel](https://avatars.githubusercontent.com/u/9431350?v=4)](https://github.com/johannesschobel "johannesschobel (1 commits)")[![namnv609](https://avatars.githubusercontent.com/u/8691772?v=4)](https://github.com/namnv609 "namnv609 (1 commits)")[![0xK4d1r](https://avatars.githubusercontent.com/u/15370532?v=4)](https://github.com/0xK4d1r "0xK4d1r (1 commits)")

---

Tags

laravellaravel-appsmetricsnotifications

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aschmelyun-larametrics/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[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/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)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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