$search = Search::find()->where(['or like', ['name','description'], $query])->limit(30);
or like: similar to the like operator, just LIKE assertions are combined by using the OR operator if the second operand is represented by an array.
Search::find()->orWhere(['like', 'name', $query])->orWhere(['like', 'description', $query])
Find more questions by tags Yii
Search::find()->where(['or', ['like', 'name', $query], ['like', 'description', $query]]) - Helois commented on July 9th 19 at 13:21