laravel search pagination multiples tables code example
Example: where clause with paginate laravel multiple column
"SELECT * FROM students WHERE students.user_id = $id AND (students.name like '%$q%' OR students.last_name Like '%$q%' OR students.email Like '%$q%')"