Skip to content

Nex-Otaku/yii2-error-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Yii2 Error Summary

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

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

Installation

The preferred way to install is through composer.

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

About

Error Summary for Yii2 Model

Topics

Resources

Stars

Watchers

Forks

Languages