Bacause sometimes you want all validation errors of model as single line of text, and Yii2 does not provide it out of the box.
$this->log('Order validation failed: ' . ErrorSummary::of($order));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.
- MIT license
- Copyright 2025 © Nex Otaku.