We are guiding readers through the Yii2 Framework for PHP in the Programming With Yii2 series. We will give a quick overview of helpers in this tutorial. Helpers are easy-to-extend modules in Yii that bundle together commonly used libraries for text, file, image, URL, and HTML administration, among other things.
We will also show you how to make a helper in Meeting Planner, which is the subject of our Envato Tuts+ startup series.
Many classes in Yii make ordinary coding tasks like string or array manipulation, HTML code generation, and so on much easier. These helper classes are all static classes and are organised in the Yii helpers namespace (meaning they contain only static properties and methods and should not be instantiated).