title: How to convert json data in json file in Laravel 5.6
body: <p>I need convert my json data in file <code>.json</code>. I parsing data to <code>array of json</code> in this code</p>
  
  <pre><code>$movies = Movie::all();
  return response()-&gt;json($movies);
  </code></pre>
  
  <p>I need create <code>movies.json</code> file. Where my file must be, which folder? And how to  it? </p>