How to create a new helper in Yii2 framework: Create a new file “Utils.php” in “app-basic\helpers” or in other folder, location is up to you, but keep things organized! <?php namespace yii\helpers; use Yii; class Utils { public static function
How to create a new helper in Yii2 framework: Create a new file “Utils.php” in “app-basic\helpers” or in other folder, location is up to you, but keep things organized! <?php namespace yii\helpers; use Yii; class Utils { public static function