I have the following code:
$results = \\DB::table(\'pack\') ->Join(\'users as u1\', \'u1.id\', \'=\', \'pack.userid\') ->Join(\
If your database row matches any of the orWhere it will show the row. In your code you have
orWhere
->orWhere('pack.description', 'LIKE', "%$text%") ->orWhere('pack.skills', 'LIKE', "%$text%") ->orWhere('s1.name', 'LIKE', "%$text%")
If you row matches any of them it will ignore other where or orWhere
where