rleroi / blame-log
Like Spotify Wrapped for bad code. Find out who to blame for errors!
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rleroi/blame-log
Requires
- php: ^8.0
This package is auto-updated.
Last update: 2025-10-15 16:47:50 UTC
README
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
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
This package is intended for fun purposes only. Please refrain from using it to make employment decisions. 😉