PHPackages                             dmc-towns/sanitizer - 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. dmc-towns/sanitizer

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

dmc-towns/sanitizer
===================

A static class to allow sanitization of inputs and HTML

0.1(7y ago)06PHPPHP ^5.3.6 || ^7.0

Since Feb 2Pushed 7y agoCompare

[ Source](https://github.com/DMCTowns/Sanitizer)[ Packagist](https://packagist.org/packages/dmc-towns/sanitizer)[ RSS](/packages/dmc-towns-sanitizer/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Sanitizer
=========

[](#sanitizer)

A static class to sanitize HTML input

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

2655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/32456f70998e9bbfb0627dc90b9a27b832f188a50be86b480970bcaa9ec9e89b?d=identicon)[DicconTowns](/maintainers/DicconTowns)

### Embed Badge

![Health badge](/badges/dmc-towns-sanitizer/health.svg)

```
[![Health](https://phpackages.com/badges/dmc-towns-sanitizer/health.svg)](https://phpackages.com/packages/dmc-towns-sanitizer)
```

###  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)[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

54013.2M450](/packages/nette-forms)[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)

PHPackages © 2026

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