PHPackages                             micheldiemer/validator - 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. micheldiemer/validator

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

micheldiemer/validator
======================

W3C VNU Html validator

1.0.0-beta21(1y ago)09MITPHPPHP &gt;=8.1

Since Mar 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/micheldiemer/php-composer-validator)[ Packagist](https://packagist.org/packages/micheldiemer/validator)[ RSS](/packages/micheldiemer-validator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Utilisty classes for VNU W3C validator
======================================

[](#utilisty-classes-for-vnu-w3c-validator)

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

[](#installation)

```
composer require micheldiemer/validator
```

Usage
-----

[](#usage)

Possibility to use the remove W3C Validator or a local (eg docker) version

Provides utility functions to validate :

- source code
- local file
- translation from local file to url
- local url
- remote url
- validate html code rendered by php script

Contributions
-------------

[](#contributions)

`phpdoc`, `phplint`, `phpstan` and `php-cs-fixer` are required globally.

Contributions are welcome either as a GitHub issue or a PR to this repo.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance46

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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

Total

6

Last Release

402d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/micheldiemer-validator/health.svg)

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

###  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)
