title: Laravel Eloquent - Insert to database by passing a JSON variable
body: <p>If I have a JSON variable with every key matching the table columns, is there a way to just to pass that and save it into the database?</p>
  
  <p>For instance, if I have:</p>
  
  <pre><code>{
      "name" : "John Smith",
      "email" : "john.smith@gmail.com",
      "phone" : "111-111-1111"
  }
  </code></pre>
  
  <p>And my table <code>User</code> only has those columns (I know, I know! I don't have a password defined). Can I just somehow use that variable to save a new entry or do I need to set each column one by one?</p>