title: How to create Mysql table from array values in Laravel 5.4
body: <p>I want to create a database table from the CSV header.
  here is my code.</p>
  
  <pre><code>//give a path of file
  $path =  $request-&gt;file-&gt;getRealPath();
  //gives csv header and store in array
  $store =  ((((Excel::load($path))-&gt;all())-&gt;first())-&gt;keys())-&gt;toArray(); 
  return dd(array_values ($store));
  </code></pre>
  
  <p>Output: </p>
  
  <pre><code>array:2 [▼
      0 =&gt; "title"
      1 =&gt; "description"
  ]
  </code></pre>
  
  <p>I want to create a table with the column name (title, description) How?</p>
  
  <p>thanks.</p>