PHPackages                             nicofff/ammonia - 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. nicofff/ammonia

ActivePhp-ext[Validation &amp; Sanitization](/categories/validation)

nicofff/ammonia
===============

Rust-based HTML sanitizer for PHP — wraps the ammonia crate

v0.3.0(2w ago)02↓100%MITPHP &gt;=8.2

Since Mar 8Compare

[ Source](https://github.com/nicofff/ammonia-php-rs)[ Packagist](https://packagist.org/packages/nicofff/ammonia)[ Docs](https://github.com/nicofff/ammonia-php-rs)[ RSS](/packages/nicofff-ammonia/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/nicofff/ammonia-php-rs).

###  Health Score

37

—

LowBetter than 84% of packages

Maintenance97

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

3

Last Release

14d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/nicofff-ammonia/health.svg)

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

###  Alternatives

[webmozart/assert

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

7.6k882.5M1.1k](/packages/webmozart-assert)[composer/semver

Version comparison library that offers utilities, version constraint parsing and validation.

3.3k479.5M569](/packages/composer-semver)[respect/validation

The most awesome validation engine ever created for PHP

5.9k36.6M352](/packages/respect-validation)[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k34.5M84](/packages/propaganistas-laravel-phone)[laminas/laminas-escaper

Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs

21986.9M121](/packages/laminas-laminas-escaper)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.2M67](/packages/swaggest-json-schema)

PHPackages © 2026

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