Yii 2.0 Part 4 - Rules and validation

This video looks at Yii 2.0’s validation and rules, including data type validators, non-validation validators! and using the SafeValidator for marking properties as safe for “massive assignment“. The list of available validators can be found here: and some more description about models, scenarios and validation can be found here: The source code for the tutorial is
Back to Top