PHPackages                             rahimi-ali/pulse-slow-mongo-queries - 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. rahimi-ali/pulse-slow-mongo-queries

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

rahimi-ali/pulse-slow-mongo-queries
===================================

A Laravel Pulse card for slow MongoDB queries

1.0.0(2y ago)24.3kMITPHPPHP ^8.1

Since Mar 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/rahimi-ali/pulse-slow-mongo-queries)[ Packagist](https://packagist.org/packages/rahimi-ali/pulse-slow-mongo-queries)[ RSS](/packages/rahimi-ali-pulse-slow-mongo-queries/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Laravel Pulse Slow MongoDB Queries
==================================

[](#laravel-pulse-slow-mongodb-queries)

Slow queries card for Laravel Pulse just for MongoDB. This package does not assume you use any specific library, the only requirement is that you should add a subscriber to the MongoDB client class used by your application to connect to mongo and run commands.

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

[](#installation)

Install using Composer:

```
composer require rahimi-ali/pulse-slow-mongo-queries
```

Usage
-----

[](#usage)

Add the MongoCommandSubscriber to your mongoDB client:

```
$client = new Client('connection string', []);

$client->getManager()->addSubscriber(new \RahimiAli\Pulse\SlowMongoQueries\Util\MongoSubscriber());
```

Add the recorder to the `config/pulse.php` configuration file:

```
'recorders' => [
    // ...

    \RahimiAli\Pulse\SlowMongoQueries\Recorder\SlowMongoQueriesRecorder::class => [
        'threshold' => 100_000, // in microseconds
        'sample_rate' => 1, // between 0 and 1
    ]
]
```

Add the card to your pulse dashboard:

```

     {{-- this is rendered under the slow queries card --}}

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

774d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42c1ae12253ddf22f4484465431c4066b57e307278fdfd189b3a6f1eea019b90?d=identicon)[ali-rahimi](/maintainers/ali-rahimi)

---

Top Contributors

[![rahimi-ali](https://avatars.githubusercontent.com/u/33478509?v=4)](https://github.com/rahimi-ali "rahimi-ali (2 commits)")

---

Tags

backendfoundationlaravelphppulselaravelmongodbpulse

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rahimi-ali-pulse-slow-mongo-queries/health.svg)

```
[![Health](https://phpackages.com/badges/rahimi-ali-pulse-slow-mongo-queries/health.svg)](https://phpackages.com/packages/rahimi-ali-pulse-slow-mongo-queries)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[leroy-merlin-br/mongolid-laravel

Easy, powerful and ultrafast MongoDB ODM for Laravel.

23827.8k2](/packages/leroy-merlin-br-mongolid-laravel)[leroy-merlin-br/mongolid

Easy, powerful and ultrafast ODM for PHP and MongoDB.

11234.3k4](/packages/leroy-merlin-br-mongolid)[julien-c/mongovel

A Laravel-ish wrapper to the PHP Mongo driver

357.7k](/packages/julien-c-mongovel)[moharrum/laravel-adminer

Adminer database management tool for your Laravel application.

451.0k](/packages/moharrum-laravel-adminer)

PHPackages © 2026

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