// sql query for calling the procedure
$sql = "CALL procedure_name(:param_1, :param_2)";
// passing the params into to the sql query
$params = [':param_1'=>$param_1, ':param_2'=>$param_2,];
// execute the sql command
return Yii::$app->db->createCommand($sql, $params)->queryAll();
Reference : Executing SQL Queries and Executing Non-SELECT Queries