PHPackages                             nex-otaku/yii2-error-summary - 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. nex-otaku/yii2-error-summary

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

nex-otaku/yii2-error-summary
============================

Yii2 Error Summary

00PHP

Since Apr 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Nex-Otaku/yii2-error-summary)[ Packagist](https://packagist.org/packages/nex-otaku/yii2-error-summary)[ RSS](/packages/nex-otaku-yii2-error-summary/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Error Summary
==================

[](#yii2-error-summary)

Why?
----

[](#why)

Bacause sometimes you want all validation errors of model as single line of text, and Yii2 does not provide it out of the box.

Usage
-----

[](#usage)

```
$this->log('Order validation failed: ' . ErrorSummary::of($order));
```

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

[](#installation)

The preferred way to install is through [composer](http://getcomposer.org/download/).

```
composer require nex-otaku/yii2-error-summary

```

Alternatively, you can just copy-paste source file to your project. It has no dependencies and should work just fine.

License
-------

[](#license)

[![License](https://camo.githubusercontent.com/1e1cb7bae9fc55a01fc5443d26e358dc21c129253bcfa9841db85c4f25aa2ecf/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d6d69742d626c75652e7376673f7374796c653d666c61742d737175617265)](http://badges.mit-license.org)

- **[MIT license](http://opensource.org/licenses/mit-license.php)**
- Copyright 2025 © Nex Otaku.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca89988119804ba6356790354d587c09d4bca9e539760adb17f067009bdd4903?d=identicon)[Nex-Otaku](/maintainers/Nex-Otaku)

---

Top Contributors

[![Nex-Otaku](https://avatars.githubusercontent.com/u/2260071?v=4)](https://github.com/Nex-Otaku "Nex-Otaku (2 commits)")

---

Tags

errorsvalidationyii2

### Embed Badge

![Health badge](/badges/nex-otaku-yii2-error-summary/health.svg)

```
[![Health](https://phpackages.com/badges/nex-otaku-yii2-error-summary/health.svg)](https://phpackages.com/packages/nex-otaku-yii2-error-summary)
```

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