PHPackages                             waryor/desensitize - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. waryor/desensitize

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

waryor/desensitize
==================

A Laravel library for desensitizing routes.

v0.0.2(4y ago)3291[1 PRs](https://github.com/waryor/desensitize/pulls)MITPHPPHP ^8.0|^8.1

Since Mar 29Pushed 3y ago1 watchersCompare

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

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

#### Stats:

[](#stats)

[![Packagist Stars](https://camo.githubusercontent.com/58616ceece1ac0a2760f59959706ec378dd92a415286548a2a38d8eb44383ccd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f776172796f722f646573656e736974697a653f6c6162656c3d7061636b61676973742d7374617273)](https://camo.githubusercontent.com/58616ceece1ac0a2760f59959706ec378dd92a415286548a2a38d8eb44383ccd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f776172796f722f646573656e736974697a653f6c6162656c3d7061636b61676973742d7374617273)

#### Tests:

[](#tests)

[![Tests](https://github.com/waryor/desensitize/actions/workflows/tests.yml/badge.svg)](https://github.com/waryor/desensitize/actions/workflows/tests.yml)

Desensitize
-----------

[](#desensitize)

The package provides an easy way to desensitize your routes in your Laravel application. In short, Desensitize makes your routes case-insensitive, so you can access any of your routes whether they are lowercase, uppercase, or both.

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

[](#installation)

```
composer require waryor/desensitize
```

Usage
-----

[](#usage)

Register the app in `\bootstrap\app.php` and change the `Applocation` namespace to `Waryor\Desensitize\Foundation\` like so:

```
$app = new Waryor\Desensitize\Foundation\Application(
    $_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
```

To use this package simply add the following line to your `boot` method in your `app/Providers/RouteServiceProvider.php` file:

```
Desensitize::initialize();
```

If you want to desensitize your routes including a sub-folder, you can do so by passing the sub-folder to the `Desensitize::initialize()` method:

```
Desensitize::initialize("/sub-folder");
```

Credits
-------

[](#credits)

- [Waryor](https://waryor.com)
- [All contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.6% 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

1507d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20c2f42087f8cfe3b9d24b32429b7684cd0439c445e1017e649d8e5fbb677f7e?d=identicon)[waryor](/maintainers/waryor)

![](https://avatars.githubusercontent.com/u/78740148?v=4)[malthael](/maintainers/malthael)[@Malthael](https://github.com/Malthael)

---

Top Contributors

[![felix-exon](https://avatars.githubusercontent.com/u/24978665?v=4)](https://github.com/felix-exon "felix-exon (19 commits)")[![christophheich](https://avatars.githubusercontent.com/u/16765979?v=4)](https://github.com/christophheich "christophheich (4 commits)")

---

Tags

case-sensitivitylaravellaravel-packageroutinglaravelrouteswaryordesensitize

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waryor-desensitize/health.svg)

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

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k41.6M267](/packages/tightenco-ziggy)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[proai/lumen-annotations

Route and event binding annotations for Laravel Lumen

1012.4k](/packages/proai-lumen-annotations)

PHPackages © 2026

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