2017 © Pedro Peláez
 

yii2-extension yii2-errorpicker

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

image

lebedyncrs/yii2-errorpicker

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

  • Thursday, July 7, 2016
  • by lebedyncrs
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Component provide global object for validation errors in Yii2 rest api

Installation

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

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

or add, (*3)

"lebedyncrs/yii2-errorpicker": "*"

to the require section of your composer.json., (*4)

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., (*5)

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

When you develop rest api global context for errors validation is very useful. This component provide that., (*6)

The Versions

07/07 2016

dev-master

9999999-dev

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

  Sources   Download

BSD-3-Clause

The Requires

 

by Sergij Lebedyn

yii2 errors