PHPackages                             rleroi/blame-log - 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. rleroi/blame-log

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

rleroi/blame-log
================

Like Spotify Wrapped for bad code. Find out who to blame for errors!

10PHP

Since Dec 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/rleroi/blame-log)[ Packagist](https://packagist.org/packages/rleroi/blame-log)[ RSS](/packages/rleroi-blame-log/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

BlameLog
========

[](#blamelog)

**Like Spotify Wrapped for bad code**

BlameLog is a tool that provides a Spotify Wrapped-style overview of developers responsible for the most errors in your codebase using git-blame.

*Requires Git to be installed on your system.*

Usage
-----

[](#usage)

```
use RLeroi\BlameLog\BlameLog;

$results = BlameLog::calculateTotals('/Users/rleroi/dev/my-project/storage/logs/laravel.log');
```

*Note: This operation may take a while, depending on the size of your log file.*

The method returns an array representing the developers and their respective error counts:

```
[
    "R Leroi" => 185,
    "K Reeves" => 132,
    "Randy Marsh" => 33,
]
```

Disclaimer
----------

[](#disclaimer)

This package is intended for *fun* purposes only. Please refrain from using it to make employment decisions. 😉

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6817390?v=4)[R. Leroi](/maintainers/rleroi)[@rleroi](https://github.com/rleroi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rleroi-blame-log/health.svg)

```
[![Health](https://phpackages.com/badges/rleroi-blame-log/health.svg)](https://phpackages.com/packages/rleroi-blame-log)
```

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

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