PHPackages                             lebedyncrs/yii2-errorpicker - 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. lebedyncrs/yii2-errorpicker

ActiveYii2-extension[Validation &amp; Sanitization](/categories/validation)

lebedyncrs/yii2-errorpicker
===========================

Provide global object which can contain all validation errors. It's userfull in REST API

025PHP

Since Jul 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lebedyncrs/yii2-errorpicker)[ Packagist](https://packagist.org/packages/lebedyncrs/yii2-errorpicker)[ RSS](/packages/lebedyncrs-yii2-errorpicker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Component provide global object for validation errors in Yii2 rest api
======================================================================

[](#component-provide-global-object-for-validation-errors-in-yii2-rest-api)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist lebedyncrs/yii2-errorpicker

```

or add

```
"lebedyncrs/yii2-errorpicker": "*"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

This extension provides global object for validation errros and is userfull in rest api when you should pick all error from each models and return response as json.

```
'components' => [
    'errorPicker' => [
        'class' => 'lebedyncrs\errorpicker\ErrorValidationPicker'
    ],
    ....
]
```

When you develop rest api global context for errors validation is very useful. This component provide that.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community1

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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

### Embed Badge

![Health badge](/badges/lebedyncrs-yii2-errorpicker/health.svg)

```
[![Health](https://phpackages.com/badges/lebedyncrs-yii2-errorpicker/health.svg)](https://phpackages.com/packages/lebedyncrs-yii2-errorpicker)
```

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