PHPackages                             morcen/probe - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. morcen/probe

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

morcen/probe
============

A next-generation debugging and observability package for Laravel

0.0.3(3mo ago)03[10 PRs](https://github.com/morcen/probe/pulls)MITPHPPHP ^8.2CI passing

Since Apr 17Pushed 1mo agoCompare

[ Source](https://github.com/morcen/probe)[ Packagist](https://packagist.org/packages/morcen/probe)[ RSS](/packages/morcen-probe/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (10)Versions (13)Used By (0)

Probe for Laravel
=================

[](#probe-for-laravel)

A debugging and observability package for Laravel applications. Probe records requests, exceptions, queries, jobs, cache operations, and scheduled tasks — then surfaces them in a real-time dashboard.

[![Probe Dashboard](docs/images/dashboard-placeholder.png)](docs/images/dashboard-placeholder.png)*Dashboard screenshot — coming soon*

---

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

[](#requirements)

- PHP 8.2+
- Laravel 10, 11, or 12

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

[](#installation)

```
composer require morcen/probe
```

Run the install command to publish the config and migrate:

```
php artisan probe:install
```

Or publish assets manually:

```
php artisan vendor:publish --tag=probe-config
php artisan vendor:publish --tag=probe-migrations
php artisan migrate
```

Dashboard Access
----------------

[](#dashboard-access)

Visit `/probe` in your browser. By default, access is restricted to local environments. To customize authorization, add the following to your `AppServiceProvider`:

```
use Morcen\Probe\Probe;

Probe::auth(function ($request) {
    return $request->user()?->isAdmin();
});
```

You can change the dashboard path via the `PROBE_PATH` env variable or the config file.

Watchers
--------

[](#watchers)

Probe ships with six watchers. Toggle them in `config/probe.php` or via environment variables:

WatcherEnv VariableDefaultRequests`PROBE_WATCHER_REQUESTS``true`Exceptions`PROBE_WATCHER_EXCEPTIONS``true`Jobs`PROBE_WATCHER_JOBS``true`Queries`PROBE_WATCHER_QUERIES``true`Cache`PROBE_WATCHER_CACHE``false`Schedule`PROBE_WATCHER_SCHEDULE``true`### Query intelligence

[](#query-intelligence)

The query watcher automatically tags slow queries and detects N+1 patterns:

```
PROBE_SLOW_QUERY_MS=100   # queries over this threshold are tagged "slow"
PROBE_N1_THRESHOLD=5      # same query fingerprint N times = tagged "n1"
```

Alerts
------

[](#alerts)

Probe fires notifications when entries match a rule. Configure rules in `config/probe.php`:

```
'alerts' => [
    ['types' => ['exceptions'], 'channel' => 'slack', 'url' => env('PROBE_SLACK_WEBHOOK')],
    ['types' => ['jobs'], 'tags' => ['failed'], 'channel' => 'webhook', 'url' => env('PROBE_WEBHOOK_URL')],
    ['types' => ['queries'], 'tags' => ['slow'], 'channel' => 'log'],
],
```

Supported channels: `slack`, `webhook`, `log`.

Pruning
-------

[](#pruning)

Schedule the prune command to keep your database clean:

```
// routes/console.php
Schedule::command('probe:prune')->daily();
```

Pruning TTLs are configurable per entry type:

```
PROBE_PRUNE_REQUESTS=7
PROBE_PRUNE_EXCEPTIONS=30
PROBE_PRUNE_JOBS=7
PROBE_PRUNE_QUERIES=3
PROBE_PRUNE_CACHE=1
PROBE_PRUNE_SCHEDULE=7
```

To clear all entries immediately:

```
php artisan probe:clear
```

Sampling
--------

[](#sampling)

For high-traffic production environments, record a fraction of entries:

```
PROBE_SAMPLING_RATE=0.1  # record 10% of entries
```

Laravel Octane
--------------

[](#laravel-octane)

Probe supports Laravel Octane. Per-request state resets automatically between requests.

Configuration Reference
-----------------------

[](#configuration-reference)

Publish and review `config/probe.php` for all options. Key environment variables:

VariableDefaultDescription`PROBE_ENABLED``true`Enable or disable Probe entirely`PROBE_PATH``probe`Dashboard URI path`PROBE_STORAGE_DRIVER``database`Storage backend`PROBE_SAMPLING_RATE``1.0`Fraction of entries to record---

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

[](#contributing)

Contributions are welcome. Please follow these steps:

1. Fork the repository.
2. Create a branch: `git checkout -b feature/your-feature`.
3. Write tests for your changes.
4. Run the test suite: `./vendor/bin/pest`.
5. Open a pull request against `main`.

Please keep pull requests focused. One feature or fix per PR. Open an issue first for large changes so we can align on direction before you invest time writing code.

### Running Tests

[](#running-tests)

```
composer install
./vendor/bin/pest
```

---

License
-------

[](#license)

Probe is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance89

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Every ~6 days

Total

2

Last Release

91d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d29181937219755d8ae3ceda87a04c1fe93478a4bdcfa347daef6499ec472e9?d=identicon)[morcen](/maintainers/morcen)

---

Top Contributors

[![morcen](https://avatars.githubusercontent.com/u/28680830?v=4)](https://github.com/morcen "morcen (8 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/morcen-probe/health.svg)

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

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M136](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M133](/packages/roots-acorn)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k96.5k1](/packages/mike-bronner-laravel-model-caching)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[flarum/core

Delightfully simple forum software.

211.4M2.4k](/packages/flarum-core)

PHPackages © 2026

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