PHPackages                             nullaidev/hygiene - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. nullaidev/hygiene

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

nullaidev/hygiene
=================

Hygiene is a HTML sanitizer.

v1.0.1(1y ago)137MITPHPPHP &gt;=8.4

Since Nov 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nullaidev/hygiene)[ Packagist](https://packagist.org/packages/nullaidev/hygiene)[ GitHub Sponsors](https://github.com/nullaidev)[ RSS](/packages/nullaidev-hygiene/feed)WikiDiscussions main Synced 1mo ago

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

Hygiene
=======

[](#hygiene)

A brand new, blazing-fast, and ultra-lightweight PHP HTML sanitizer for modern PHP 8.4+ applications.

[Read Full Documentation](https://docs.nullai.com/hygiene/overview)

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

[](#installation)

To get started with Hygiene, you need to have PHP 8.4 installed on your system. You can install Hygiene via Composer. Run the following command in your terminal:

```
composer require nullaidev/hygiene

```

[Read Full Documentation](https://docs.nullai.com/hygiene/overview)

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within Hygiene, please submit an issue on GitHub. All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

The Hygiene PHP utility is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

2

Last Release

543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fbfe05056553c8734d4ecf78fc58966f7d4ba06c664f21a67288f72413d4754f?d=identicon)[kevindees](/maintainers/kevindees)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nullaidev-hygiene/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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