PHPackages                             leolegends/gauge - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. leolegends/gauge

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

leolegends/gauge
================

An easy to use application performance monitor.

01.4kPHP

Since Aug 23Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Gauge - Laravel Application Performance Monitoring
--------------------------------------------------

[](#gauge---laravel-application-performance-monitoring)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ea650aee4452b64587ef86866310fe2af3ce42f7120a07bdd62ab507cfb6dfec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f62696173646965726963682f67617567652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tobiasdierich/gauge)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/b58a211012915fcd5b86853df95673c827eed49d9a71d9ac94beb7ae7d5bc288/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f62696173646965726963682f67617567652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tobiasdierich/gauge)

Gauge is an easy to use package to monitor the performance of your Laravel applications. Gauge in based on [Laravel Telescope](https://github.com/laravel/telescope).

[![Gauge](/.github/banner.jpg)](/.github/banner.jpg)

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

[](#requirements)

Gauge works with the latest Laravel version starting at v6. The package has been tested with the latest versions of MySQL (v8) and Postgres (v13). Other version might work as well but are not supported officially.

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

[](#installation)

Install the package via composer:

```
composer require tobiasdierich/gauge
```

After installing Gauge, publish the assets and run the migrations be executing the following commands:

```
php artisan gauge:install
php artisan migrate
```

Once done, open the Gauge dashboard at `/gauge`.

### Data Pruning

[](#data-pruning)

Since gauge collects a bunch of data when enabled, you have to make sure to regularly prune old data from the database. Gauge comes with a prune command which by default removes all database entries older than a week. Setup your scheduler to prune old entries daily like this:

```
$schedule->command('gauge:prune')->daily();
```

### Dashboard Authorization

[](#dashboard-authorization)

By default, the dashboard exposed at `/gauge` is only accessible in local environments. If you want to access the dashboard in production environments, you can modify the gate function inside your `app/providers/GaugeServiceProvider.php`:

```
/**
     * Register the Gauge gate.
     *
     * This gate determines who can access Gauge in non-local environments.
     *
     * @return void
     */
    protected function gate()
    {
        Gate::define('viewGauge', function ($user) {
            return in_array($user->email, [
                'foo@bar.com'
            ]);
        });
    }
```

### Configuration

[](#configuration)

The main configuration file is located at `config/gauge.php`. Use this file to disable Gauge, configure the watchers, etc.

Credits
-------

[](#credits)

- [Tobias Dierich](https://twitter.com/tobiasdierich)
- [Laravel Telescope Contributors](https://github.com/laravel/telescope/contributors)

License
-------

[](#license)

The MIT License (MIT). Please check the [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.7% 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://www.gravatar.com/avatar/9823551b57a90ae5071c8147109625d1655483b4d270ef4801a13fcd3fb0040f?d=identicon)[leolegends](/maintainers/leolegends)

---

Top Contributors

[![tobiasdierich](https://avatars.githubusercontent.com/u/20173900?v=4)](https://github.com/tobiasdierich "tobiasdierich (33 commits)")[![leolegends](https://avatars.githubusercontent.com/u/20091863?v=4)](https://github.com/leolegends "leolegends (2 commits)")[![swilla](https://avatars.githubusercontent.com/u/304159?v=4)](https://github.com/swilla "swilla (1 commits)")

### Embed Badge

![Health badge](/badges/leolegends-gauge/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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