PHPackages                             hegentopf/php-assert - 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. hegentopf/php-assert

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

hegentopf/php-assert
====================

A lightweight and fluent PHP assertion library for easy and expressive validations.

v1.0.3(11mo ago)311MITPHP &gt;=5.6

Since May 20Compare

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

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

### README not available

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance50

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

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

2

Last Release

358d ago

### Community

Maintainers

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

---

Top Contributors

[![hegentopf](https://avatars.githubusercontent.com/u/113784801?v=4)](https://github.com/hegentopf "hegentopf (12 commits)")[![LukasFre](https://avatars.githubusercontent.com/u/135229216?v=4)](https://github.com/LukasFre "LukasFre (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hegentopf-php-assert/health.svg)

```
[![Health](https://phpackages.com/badges/hegentopf-php-assert/health.svg)](https://phpackages.com/packages/hegentopf-php-assert)
```

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