How can I write following or similar kind of queries using Eloquent?
SELECT * FROM a_table WHERE (a LIKE %keyword% OR b LIKE %keyword%) AND c = 1 AND d = 5
You can use DB::raw() in the first where() to put in the like/or statement.
DB::raw()
where()