PHPackages                             nicodev/asserts - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. nicodev/asserts

ActiveLibrary[Testing &amp; Quality](/categories/testing)

nicodev/asserts
===============

List of traits that make assertions and throw Exception if assertion fails.

5.2.0(4mo ago)035.4k↓42.2%1MITPHPPHP &gt;=8.3.0

Since Sep 4Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/niconoe-/asserts)[ Packagist](https://packagist.org/packages/nicodev/asserts)[ RSS](/packages/nicodev-asserts/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (9)Versions (29)Used By (0)

Asserts
=======

[](#asserts)

Define a list of traits that make assertions and throw Exception if assertion fails.

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

[](#installation)

```
> composer require nicodev/assert:^5.0.0
```

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance74

Regular maintenance activity

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 91.8% 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 ~162 days

Recently: every ~130 days

Total

20

Last Release

142d ago

Major Versions

1.2.0 → 2.0.02019-01-25

2.1.0 → 3.0.02021-11-15

2.2.0 → 3.2.02022-05-10

3.3.0 → 4.0.02024-09-06

4.0.0 → 5.0.02025-12-02

PHP version history (5 changes)1.0.0PHP ^7.1.0

2.0.0PHP &gt;=7.1.0

3.0.0PHP &gt;=8.0.0

3.1.0PHP &gt;=8.1.0

4.0.0PHP &gt;=8.3.0

### Community

Maintainers

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

---

Top Contributors

[![niconoe-](https://avatars.githubusercontent.com/u/9560327?v=4)](https://github.com/niconoe- "niconoe- (56 commits)")[![Tithugues](https://avatars.githubusercontent.com/u/1165150?v=4)](https://github.com/Tithugues "Tithugues (5 commits)")

---

Tags

helperlibraryassertion

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nicodev-asserts/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[illuminate/container

The Illuminate Container package.

31182.0M2.4k](/packages/illuminate-container)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.6k](/packages/illuminate-database)[illuminate/collections

The Illuminate Collections package.

27078.0M1.1k](/packages/illuminate-collections)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)

PHPackages © 2026

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