What is helper in Yii? Why it is used?
The Yii Framework provides many classes that simplify common coding tasks like array manipulation, code generation, etc. These are called Helper classes. These can be found under
yii\helpers. These classes are static, which means they merely contain static methods and should never be instantiated.