PHPackages                             ntk-andr/multi-exception - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ntk-andr/multi-exception

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ntk-andr/multi-exception
========================

MultiException

09PHP

Since Feb 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ntk-andr/MultiException)[ Packagist](https://packagist.org/packages/ntk-andr/multi-exception)[ RSS](/packages/ntk-andr-multi-exception/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MultiException
==============

[](#multiexception)

Usage Example
-------------

[](#usage-example)

```
use NtkAndr\MultiException;

function checkPassword($passwd): bool
{
    $errors = new MultiException();
    if (empty($passwd)) {
        $errors->add(new Exception('Empty password'));
    }
    if (strlen($passwd) < 6) {
        $errors->add(new Exception('The password is too short'));
    }
    if (!preg_match('~\d~', $passwd)) {
        $errors->add(new Exception('The password doesn\'t contain numbers'));
    }
    if (!$errors->isEmpty()) {
        throw $errors;
    }
    return true;
}

try {
    checkPassword('');
} catch (MultiException $errors) {
    foreach ($errors as $error) {
        echo $error->getMessage() . "\n";
    }
}
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

---

Top Contributors

[![ntk-andr](https://avatars.githubusercontent.com/u/14073235?v=4)](https://github.com/ntk-andr "ntk-andr (9 commits)")

### Embed Badge

![Health badge](/badges/ntk-andr-multi-exception/health.svg)

```
[![Health](https://phpackages.com/badges/ntk-andr-multi-exception/health.svg)](https://phpackages.com/packages/ntk-andr-multi-exception)
```

###  Alternatives

[skmachine/instagram-php-scraper

Simple Instagram PHP scraper and media proxy.

155.7k](/packages/skmachine-instagram-php-scraper)

PHPackages © 2026

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