PHPackages                             thecapybaralph/laravel-uhoh - 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. [Security](/categories/security)
4. /
5. thecapybaralph/laravel-uhoh

ActiveLibrary[Security](/categories/security)

thecapybaralph/laravel-uhoh
===========================

Just a package to quickly check if your app is tampered with.

v1.0.0(2mo ago)06MITPHPPHP ^8.2

Since Feb 27Pushed 2mo agoCompare

[ Source](https://github.com/TheCapybaRalph/laravel-uhoh)[ Packagist](https://packagist.org/packages/thecapybaralph/laravel-uhoh)[ Docs](https://github.com/thecapybaralph/laravel-uhoh)[ RSS](/packages/thecapybaralph-laravel-uhoh/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Laravel Uh oh
=============

[](#laravel-uh-oh)

Laravel Uhoh is a tiny integrity checker for your index.php. It monitors the file and fires events if anything changes.

This is a friendly guard, not a security guard dog. If someone can modify your application, they can modify Uhoh too. Use it as a warning tool, not a defense system.

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

[](#installation)

You can install the package via composer:

```
composer require thecapybaralph/laravel-uhoh
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-uhoh-config"
```

Usage
-----

[](#usage)

```
$tripwire = \TheCapybaRalph\LaravelUhoh\Uhoh::run(); // returns true if check passes
```

You can also add this to your schedule

```
\Illuminate\Support\Facades\Schedule::command('uhoh:check')->hourly();
```

Creating a Listener
-------------------

[](#creating-a-listener)

The package does not include built-in notifications by default. However, it fires two events that you can listen to in your application:

```
\TheCapybaRalph\LaravelUhoh\Events\IntegrityCheckFailed::class;
\TheCapybaRalph\LaravelUhoh\Events\IntegrityCheckPassed::class;
```

You can attach listeners to these events to perform any action you need when an integrity check passes or fails, such as sending notifications, logging, or triggering custom workflows.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [TheCapybaRalph](https://github.com/TheCapybaRalph)

License
-------

[](#license)

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

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance86

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

74d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48741f501380d91487cf67701280ce03340e54c9ae1a34776690ec2d341d74db?d=identicon)[TheCapybaRalph](/maintainers/TheCapybaRalph)

---

Top Contributors

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

---

Tags

laravelsecuritylaravel-uhoh

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/thecapybaralph-laravel-uhoh/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[spatie/laravel-csp

Add CSP headers to the responses of a Laravel app

8519.6M19](/packages/spatie-laravel-csp)[spatie/laravel-ciphersweet

Use ciphersweet in your Laravel project

416718.4k1](/packages/spatie-laravel-ciphersweet)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[ercsctt/laravel-file-encryption

Secure file encryption and decryption for Laravel applications

642.6k](/packages/ercsctt-laravel-file-encryption)

PHPackages © 2026

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