PHPackages                             bavix/laravel-prof - 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. [Caching](/categories/caching)
4. /
5. bavix/laravel-prof

AbandonedArchivedLibrary[Caching](/categories/caching)

bavix/laravel-prof
==================

Code profiling made easy for Laravel

2.0.0(5y ago)4683↓100%MITPHPPHP &gt;=7.2

Since Jul 11Pushed 5y ago2 watchersCompare

[ Source](https://github.com/bavix/laravel-prof)[ Packagist](https://packagist.org/packages/bavix/laravel-prof)[ RSS](/packages/bavix-laravel-prof/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (1)Versions (19)Used By (0)

[![Screenshot from 2020-07-12 11-56-41](https://user-images.githubusercontent.com/5111255/87242600-e5266c00-c436-11ea-8c99-da9181d929ad.png)](https://user-images.githubusercontent.com/5111255/87242600-e5266c00-c436-11ea-8c99-da9181d929ad.png)

Laravel Prof
============

[](#laravel-prof)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3063ad8655d17ad5667ccd6265d30348fe1abbd931de840cb7b046ccb3f168d9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c61726176656c2d70726f662f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/laravel-prof/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/8fdf252bc54a28fcdb8a4edec9fd328a666ae98632cedcecdeb08e93bd2623dc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c61726176656c2d70726f662f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/laravel-prof/?branch=master)[![Build Status](https://camo.githubusercontent.com/9fcf7d5174bf4ccda2fb2b427fc6b0b1fc7d0833ef888e732ff55bf6bae1e24c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c61726176656c2d70726f662f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/laravel-prof/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/d31b624233303cf7a5e411e51525cf22ac3a67a42087db8ee88c88ec13694a67/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f6c61726176656c2d70726f662f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

[![Package Rank](https://camo.githubusercontent.com/a77768bb8153ca6d37d0e8c25557c093119c3b2e1cd570a924c2ac73f585ab9a/68747470733a2f2f7068707061636b616765732e6f72672f702f62617669782f6c61726176656c2d70726f662f62616467652f72616e6b2e737667)](https://packagist.org/packages/bavix/laravel-prof)[![Latest Stable Version](https://camo.githubusercontent.com/0e34e69c7c39b1243b838e74d7a98ed71662beb5bd13a5820acf4750e4d46010/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d70726f662f762f737461626c65)](https://packagist.org/packages/bavix/laravel-prof)[![Latest Unstable Version](https://camo.githubusercontent.com/aa67102afc5d688d00adfb67932ea37134705629f9fcb1d7df612659b79dcf57/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d70726f662f762f756e737461626c65)](https://packagist.org/packages/bavix/laravel-prof)[![License](https://camo.githubusercontent.com/16fea0509ba30e480b051edafb752ec416688bee333c17851c6f9c84ca82247a/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d70726f662f6c6963656e7365)](https://packagist.org/packages/bavix/laravel-prof)[![composer.lock](https://camo.githubusercontent.com/6d785aae1fb467efe739abd9370ee62ff2fc43e21d17a926f5a63276bfe00423/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d70726f662f636f6d706f7365726c6f636b)](https://packagist.org/packages/bavix/laravel-prof)

Laravel Prof - Code profiling made easy in production. Mark code snippets using services and see profiling results in `grafana`, `redash`and other analytical systems.

- **Vendor**: bavix
- **Package**: Laravel Prof
- **Version**: [![Latest Stable Version](https://camo.githubusercontent.com/0e34e69c7c39b1243b838e74d7a98ed71662beb5bd13a5820acf4750e4d46010/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f6c61726176656c2d70726f662f762f737461626c65)](https://packagist.org/packages/bavix/laravel-prof)
- **Laravel Version**: `6.x`, `7.x`, `8.x`
- **PHP Version**: 7.2+
- **[Composer](https://getcomposer.org/):** `composer require bavix/laravel-prof`

### Usage

[](#usage)

Add `profile_logs` table to clickhouse...

```
create table profile_logs
(
    hostname   String,
    project    String,
    version    String,
    userId     Nullable(String),
    sessionId  Nullable(String),
    requestId  String,
    requestIp  String,
    eventName  String,
    target     String,
    latency    Float32,
    memoryPeak Int32,
    date       Date,
    created    DateTime
)
    engine = MergeTree(date, (date, project, eventName), 8192);
```

Run the consumer

```
./artisan queue:work
```

Set up grafana / redash and enjoy.

[![Screenshot from 2020-07-11 14-45-55](https://user-images.githubusercontent.com/5111255/87223389-41c94e80-c385-11ea-9ce0-a36643f5fb5c.png)](https://user-images.githubusercontent.com/5111255/87223389-41c94e80-c385-11ea-9ce0-a36643f5fb5c.png)

---

Supported by

[![Supported by JetBrains](https://camo.githubusercontent.com/426b71c1485422e61c59d8b7fec03f4ba626dd77443847c0a14053491eb8fc4a/68747470733a2f2f63646e2e7261776769742e636f6d2f62617669782f646576656c6f706d656e742d7468726f7567682f34363437356234622f6a6574627261696e732e737667)](https://www.jetbrains.com/)

###  Health Score

29

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Recently: every ~18 days

Total

18

Last Release

2007d ago

Major Versions

0.1.2 → 1.0.02020-07-11

1.1.1 → 2.0.02020-09-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/266f28651b740a279e636ef42fadcc7d72941c7a4bf9a29c4fd62c72476f0c0e?d=identicon)[REZ1DENT3](/maintainers/REZ1DENT3)

---

Top Contributors

[![rez1dent3](https://avatars.githubusercontent.com/u/5111255?v=4)](https://github.com/rez1dent3 "rez1dent3 (29 commits)")

---

Tags

clickhousegrafanalaravelphpprofileprofilerredashredisphplaravelprofilercodeprofilinglogsprofileclickhousegrafanaredash

### Embed Badge

![Health badge](/badges/bavix-laravel-prof/health.svg)

```
[![Health](https://phpackages.com/badges/bavix-laravel-prof/health.svg)](https://phpackages.com/packages/bavix-laravel-prof)
```

###  Alternatives

[laracraft-tech/laravel-xhprof

Easy XHProf setup to profile your laravel application!

233298.5k](/packages/laracraft-tech-laravel-xhprof)[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

981161.4k2](/packages/awssat-laravel-visits)[imanghafoori/laravel-widgetize

A minimal yet powerful package to give a better structure and caching opportunity for your Laravel apps.

910136.9k10](/packages/imanghafoori-laravel-widgetize)[bavix/laravel-xhprof

Quick profiling of your code for Laravel

22156.0k](/packages/bavix-laravel-xhprof)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

202525.9k6](/packages/swayok-alternative-laravel-cache)[alekseykorzun/memcached-wrapper-php

Optimized PHP 5 wrapper for Memcached extension that supports dog-piling, igbinary and local storage

2883.1k1](/packages/alekseykorzun-memcached-wrapper-php)

PHPackages © 2026

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