PHPackages                             marekmiklusek/auditor - 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. marekmiklusek/auditor

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

marekmiklusek/auditor
=====================

A package that provides auditing for: dd(), dump(), // FIXME:, // TODO:, and more...

v0.1.1(3mo ago)0180MITPHPPHP ^8.3.0CI passing

Since Jun 7Pushed 3mo agoCompare

[ Source](https://github.com/marekmiklusek/auditor)[ Packagist](https://packagist.org/packages/marekmiklusek/auditor)[ RSS](/packages/marekmiklusek-auditor/feed)WikiDiscussions main Synced today

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

[![logo for my php package called_ auditor(1)](https://private-user-images.githubusercontent.com/112761697/452532274-df26ed25-7521-4654-b085-606b7fc89655.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODMxNDkzMDgsIm5iZiI6MTc4MzE0OTAwOCwicGF0aCI6Ii8xMTI3NjE2OTcvNDUyNTMyMjc0LWRmMjZlZDI1LTc1MjEtNDY1NC1iMDg1LTYwNmI3ZmM4OTY1NS5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcwNFQwNzEwMDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZWVhZWFlNjg4MTJiMzFhYzI2M2IwZTc4MDkzYjI5ZTk5NjFlMjYwZTE5MmE5YTNhMmZmMzgzM2E0NGEwYzhlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZqcGVnIn0.n8qreqjtkCLkMXbrPhzNa5efsnuUkyi_aqCOOJV8lhM)](https://private-user-images.githubusercontent.com/112761697/452532274-df26ed25-7521-4654-b085-606b7fc89655.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODMxNDkzMDgsIm5iZiI6MTc4MzE0OTAwOCwicGF0aCI6Ii8xMTI3NjE2OTcvNDUyNTMyMjc0LWRmMjZlZDI1LTc1MjEtNDY1NC1iMDg1LTYwNmI3ZmM4OTY1NS5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcwNFQwNzEwMDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZWVhZWFlNjg4MTJiMzFhYzI2M2IwZTc4MDkzYjI5ZTk5NjFlMjYwZTE5MmE5YTNhMmZmMzgzM2E0NGEwYzhlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZqcGVnIn0.n8qreqjtkCLkMXbrPhzNa5efsnuUkyi_aqCOOJV8lhM)

🔍 Laravel Auditor
=================

[](#-laravel-auditor)

 [![CI Pipeline](https://github.com/marekmiklusek/auditor/actions/workflows/ci.yaml/badge.svg)](https://github.com/marekmiklusek/auditor/actions) [![Latest Stable Version](https://camo.githubusercontent.com/3ccb5a1504df3f529ad9218c2869f43570b00aceb93d5853f22c229220ff085a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6172656b6d696b6c7573656b2f61756469746f722e737667)](https://packagist.org/packages/marekmiklusek/auditor) [![Downloads](https://camo.githubusercontent.com/cb4182a6219f2c1ff1f6b2009e0e996abbc1127c9a45d4b2b23751dbd6dbbd47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6172656b6d696b6c7573656b2f61756469746f722e737667)](https://packagist.org/packages/marekmiklusek/auditor) [![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/marekmiklusek/auditor/blob/main/LICENSE.md)

A Laravel package that helps you audit your codebase for debugging statements and task-related comments that should not make it to production, such as:

- 💥 `dd()` debug statements
- 🔮 `dump()` debug statements
- ✅ `// TODO:` comments
- 🛠️ `// FIXME:` comments

📋 Requirements
--------------

[](#-requirements)

- PHP 8.3 or higher
- Laravel 12.17 or higher

📥 Installation
--------------

[](#-installation)

You can install the package via Composer:

```
composer require marekmiklusek/auditor --dev
```

🚀 Usage
-------

[](#-usage)

### 🔍 Audit Your Code

[](#-audit-your-code)

Run the following command to scan your codebase for debugging statements and task-related comments:

```
php artisan audit:code
```

This will scan the following directories for PHP and Blade files:

- 📁 app
- 📁 config
- 📁 database
- 📁 resources
- 📁 routes
- 📁 tests

The command will display a list of all found issues with their file paths, line numbers, and content.

### 🔧 Fixing Issues

[](#-fixing-issues)

You can automatically remove the detected issues using the `--fix` option:

```
# Remove all detected issues
php artisan audit:code --fix=all

# Remove only dd() statements
php artisan audit:code --fix=dd

# Remove only dump() statements
php artisan audit:code --fix=dump

# Remove only TODO comments
php artisan audit:code --fix=todo

# Remove only FIXME comments
php artisan audit:code --fix=fixme
```

📊 Example Output
----------------

[](#-example-output)

When running the audit command, you'll see output similar to this:

```
🔍 Auditing codebase...

app/Http/Controllers/UserController.php (Line 25): dd($user);
app/Models/Post.php (Line 47): // TODO: Add validation
resources/views/welcome.blade.php (Line 15): {{ dump($data) }}

❗ Found 3 issue(s). Run with --fix=all to remove them all.

```

After fixing:

```
🔍 Auditing codebase...

🔧 Fixed: app/Http/Controllers/UserController.php
🔧 Fixed: app/Models/Post.php
🔧 Fixed: resources/views/welcome.blade.php

🔧 Fixed 3 issue(s).

```

💡 Why Use This Package?
-----------------------

[](#-why-use-this-package)

- 🛡️ **Code Quality**: Prevent debugging code from accidentally being deployed to production
- 📝 **Task-Related comments**: Keep track of TODOs and FIXMEs comments in your codebase
- 🚦 **Pre-Deployment Check**: Run as part of your CI/CD pipeline to ensure clean code
- 🧹 **Simple Cleanup**: Easily remove all debugging statements with a single command

🤝 Contributing
--------------

[](#-contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License
---------

[](#-license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance80

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Total

2

Last Release

103d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/112761697?v=4)[Marek Miklušek](/maintainers/marekmiklusek)[@marekmiklusek](https://github.com/marekmiklusek)

---

Top Contributors

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

---

Tags

phplaravelpackageauditorlaravel-auditor

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/marekmiklusek-auditor/health.svg)

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[laracraft-tech/laravel-xhprof

Easy XHProf setup to profile your laravel application!

235358.7k](/packages/laracraft-tech-laravel-xhprof)[bavix/laravel-xhprof

Quick profiling of your code for Laravel

22157.5k](/packages/bavix-laravel-xhprof)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.8k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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