PHPackages                             sarfraznawaz2005/meter - 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. [Database &amp; ORM](/categories/database)
4. /
5. sarfraznawaz2005/meter

ActiveLibrary[Database &amp; ORM](/categories/database)

sarfraznawaz2005/meter
======================

laravel package to find performance bottlenecks in your laravel application.

1.3.0(3y ago)2498.1k↓50%25[3 issues](https://github.com/sarfraznawaz2005/meter/issues)MITPHPPHP &gt;=7.3|&gt;=8.0

Since Jan 26Pushed 3y ago7 watchersCompare

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

READMEChangelog (4)Dependencies (3)Versions (14)Used By (0)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Latest Version on Packagist](https://camo.githubusercontent.com/ee4351009d5cd2f3531968eb4adc0f83f4cebaf916940c82524f4563bd29bc52/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7361726672617a6e6177617a323030352f6d657465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sarfraznawaz2005/meter)[![Total Downloads](https://camo.githubusercontent.com/a85d115bb39aa28d027fb63004ad20b0f0fb1b7923b381da925b05a754549664/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7361726672617a6e6177617a323030352f6d657465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sarfraznawaz2005/meter)

Laravel Meter
=============

[](#laravel-meter)

Laravel Meter monitors application performance for different things such as requests, commands, queries, events, etc and presents results in tables/charts. Think of it like Laravel Telescope but for performance monitoring.

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

[](#requirements)

- PHP &gt;= 7.3
- Laravel 5.5+ | 6

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

[](#configuration)

Available options are:

- METER\_DB\_CONNECTION `Database connection to use for meter entries. Default: mysql (uses default connection)`
- METER\_PATH `Path to access meter UI. Default: meter`
- METER\_USERNAME `Username to access meter UI. Default: null`
- METER\_PASSWORD `Password to access meter UI. Default: null`
- ignore\_matched\_string ` It helps to ignore the matched string in the query. Ex:`

```
"ignore_matched_string" => [
       "query" => [
           "information_schema",
       ]

   ],
```

There are more options available, please check `config/meter.php` file for more details.

Monitors
--------

[](#monitors)

- Requests
- Queries
- Commands
- Events
- Schedule
- CPU Load
- Disk Space
- Server Memory
- HTTP Connections

Screenshot
----------

[](#screenshot)

[![Main Window](https://github.com/sarfraznawaz2005/meter/raw/master/screenshot.png?raw=true)](https://github.com/sarfraznawaz2005/meter/blob/master/screenshot.png?raw=true)

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

[](#installation)

Install via composer

```
composer require sarfraznawaz2005/meter

```

Publish package's config file by running below command:

```
php artisan vendor:publish --provider="Sarfraznawaz2005\Meter\MeterServiceProvider"
```

It should publish `config/meter.php` config file and migration file.

Now run `php artisan migrate` command to create `meter_entries` database table.

Usage
-----

[](#usage)

Enable Meter in `config/meter.php` and setup any other options as needed. Meter UI will be visible at `path` config you set.

By default Meter monitors:

- Requests
- Queries
- Commands
- Events
- Schedule

To monitor server stuff:

- CPU Load
- Disk Space
- Server Memory
- HTTP Connections

You should use `meter:servermonitor` command. Schedule it in Laravel's console kernel file accordingly:

```
// app/Console/Kernel.php
protected function schedule(Schedule $schedule)
{
    $schedule->command('meter:servermonitor')->hourly(); // or daily
}
```

Authentication
--------------

[](#authentication)

You can use `username` and `password` config options to setup basic HTTP authentication for Meter interface to be accessed. Once setup, user should provide correct username and password to access Meter page(s).

Alternatively, you can use `middleware` config option to apply your own auth middleware, etc

Ignoring Things
---------------

[](#ignoring-things)

You can use `ignore_paths` and `ignore_commands` config options to ignore desired pages or commands from being monitored by Meter.

Data Pruning
------------

[](#data-pruning)

You need to periodically remove meter data otherwise your database will turn big quickly. To prune meter data, you can setup prune command in Kernel file:

```
$schedule->command('meter:prune')->daily();
// or
$schedule->command('meter:prune --days=7')->daily();
```

Contributing
------------

[](#contributing)

PRs are welcome. Thanks

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Sarfraz Ahmed](https://github.com/sarfraznawaz2005)
- [All Contributors](https://github.com/sarfraznawaz2005/meter/graphs/contributors)

License
-------

[](#license)

Please see the [license file](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 77.6% 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 ~87 days

Recently: every ~259 days

Total

13

Last Release

1241d ago

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

1.0.7PHP &gt;=7.3

1.1.0PHP &gt;=7.3|&gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f9bbcf3a6cda5f8bdf9afe10c20f5c6f563fc1a4d628a9af25c5fdec3f9c216?d=identicon)[sarfraznawaz2005](/maintainers/sarfraznawaz2005)

---

Top Contributors

[![sarfraznawaz2005](https://avatars.githubusercontent.com/u/201788?v=4)](https://github.com/sarfraznawaz2005 "sarfraznawaz2005 (76 commits)")[![sarfrazonsupport](https://avatars.githubusercontent.com/u/142378572?v=4)](https://github.com/sarfrazonsupport "sarfrazonsupport (19 commits)")[![4nkitd](https://avatars.githubusercontent.com/u/52023083?v=4)](https://github.com/4nkitd "4nkitd (2 commits)")[![Pequem](https://avatars.githubusercontent.com/u/11294736?v=4)](https://github.com/Pequem "Pequem (1 commits)")

---

Tags

application-insightschartgraphlaravellaravel-packagemonitoring-toolperformanceserver-monitorrequestloglaravelhealthdatabaseperformancemonitorqueriesmeter

### Embed Badge

![Health badge](/badges/sarfraznawaz2005-meter/health.svg)

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

###  Alternatives

[sarfraznawaz2005/indexer

Laravel package to monitor SELECT queries and offer best possible INDEX fields.

562.7k](/packages/sarfraznawaz2005-indexer)[msafadi/laravel-eloquent-join-with

Laravel Eloquent Join With Relationships

1646.0k](/packages/msafadi-laravel-eloquent-join-with)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)

PHPackages © 2026

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