PHPackages                             exabyssus/laravel-flamegraph-profiler - 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. exabyssus/laravel-flamegraph-profiler

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

exabyssus/laravel-flamegraph-profiler
=====================================

Local development request profiler for Laravel with temporary storage and Excimer flamegraph support.

v1.1.2(3mo ago)0323↓91.7%MITBladePHP ^8.3 || ^8.4

Since Mar 26Pushed 3mo agoCompare

[ Source](https://github.com/exabyssus/laravel-flamegraph-profiler)[ Packagist](https://packagist.org/packages/exabyssus/laravel-flamegraph-profiler)[ RSS](/packages/exabyssus-laravel-flamegraph-profiler/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (6)Versions (6)Used By (0)

Laravel Flamegraph Profiler
===========================

[](#laravel-flamegraph-profiler)

A local development request profiler for Laravel with temporary storage, SQL query analysis, N+1 detection, and [Excimer](https://www.mediawiki.org/wiki/Excimer) flamegraph support.

[![Request list](docs/screenshot-index.png)](docs/screenshot-index.png)

[![Request detail](docs/screenshot-show.png)](docs/screenshot-show.png)

Features
--------

[](#features)

- **Request dashboard** — lists recent HTTP requests with method, path, status, duration, and query count
- **Request timeline** — waterfall view of every span (middleware, controller, DB queries) in a single request
- **SQL query analysis** — queries grouped by table and operation, color-coded by speed, with expandable detail rows
- **N+1 detection** — automatically flags query patterns that repeat 3+ times
- **Excimer flamegraph** — interactive d3-flame-graph powered by the Excimer PHP extension, with search and zoom
- **Speedscope export** — download profiling data as JSON compatible with [Speedscope](https://www.speedscope.app/)
- **Path filtering** — filter the request list by URL path
- **Auto-cleanup** — file-based storage with configurable TTL and max entry limits
- **Zero config** — auto-attaches to all `web` and `api` routes; restricted to local/development environments by default

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

[](#requirements)

- PHP 8.3+
- Laravel 12
- [Excimer PHP extension](https://www.mediawiki.org/wiki/Excimer) (optional, required for flamegraphs)

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

[](#installation)

```
composer require exabyssus/laravel-flamegraph-profiler --dev
```

The service provider is auto-discovered. No additional setup is needed.

Usage
-----

[](#usage)

Start your Laravel app and visit:

```
http://your-app.test/profiler

```

Every `web` and `api` request is automatically profiled. Click any row to see the full request detail with timeline, SQL breakdown, and flamegraph.

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

[](#configuration)

Publish the config file to customize defaults:

```
php artisan vendor:publish --tag=laravel-profiler-config
```

All options can be set via environment variables:

VariableDefaultDescription`LARAVEL_PROFILER_ENABLED``true`Enable or disable profiling`LARAVEL_PROFILER_ALLOWED_ENVIRONMENTS``local,development`Comma-separated list of allowed environments`LARAVEL_PROFILER_ROUTE_PREFIX``profiler`URL prefix for the dashboard`LARAVEL_PROFILER_STORAGE_PATH``storage/app/laravel-profiler`Where profile data is stored`LARAVEL_PROFILER_TTL_MINUTES``15`How long profiles are kept`LARAVEL_PROFILER_MAX_ENTRIES``200`Maximum number of stored profiles`LARAVEL_PROFILER_INDEX_LIMIT``50`Number of profiles shown on the dashboard`LARAVEL_PROFILER_DB_THROTTLE_MS``0`Artificial delay (ms) added after each DB query to simulate network latency`LARAVEL_PROFILER_EXCIMER_SAMPLE_PERIOD``0.001`Excimer sampling interval in seconds`LARAVEL_PROFILER_EXCIMER_MAX_DEPTH``250`Maximum call stack depth for ExcimerLicense
-------

[](#license)

MIT

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance82

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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 ~0 days

Total

5

Last Release

92d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a50386930032aa05af6316c386e7c3a224799069bb4e19d7e211de0bc9e04c4?d=identicon)[exabyssus](/maintainers/exabyssus)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/exabyssus-laravel-flamegraph-profiler/health.svg)

```
[![Health](https://phpackages.com/badges/exabyssus-laravel-flamegraph-profiler/health.svg)](https://phpackages.com/packages/exabyssus-laravel-flamegraph-profiler)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9742.3M121](/packages/roots-acorn)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k16](/packages/fleetbase-core-api)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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