title: How To Get Search Query From Multiple Columns in Database
body: <p>I have search form to get information from table named books.</p>
  
  <p>Right now i'm using this controller</p>
  
  <pre><code>public function search(Request $request)
  {
      $keyword = $request-&gt;input('keyword');
      $query = Book::where('judul', 'LIKE', '%' . $keyword . '%');
  
      $book_list = $query-&gt;paginate(5);
      $pagination = $book_list-&gt;appends($request-&gt;except('page'));
      $total_book = $book_list-&gt;total();
      return view('dashboards.index', compact('book_list', 'keyword', 'pagination', 'total_book'));
  }
  </code></pre>
  
  <p>The problem is the data that i get from the request only available for <strong>judul</strong>. it just show empty result if the input keyword search addressed to search writter or publisher</p>
  
  <p>I want the search form able to get data from other columns named <strong>writters</strong> and <strong>publisher</strong></p>
  
  <p>Is there any method to get data from multiple column?  </p>