title: How to check an item is saved correctly on database in Laravel?
body: <p>When I was working with my own CMS (I made that with Object Oriented Programming in PHP), when I sent a query to insert in database on that CMS, I always check the query response by assuming that query to a variable and I always checked that to understand the query inserted true or no.</p>
  
  <p>How can I detect Laravel insert query (using <code>save()</code> method)  saved an item correctly or not?</p>
  
  <p>For example:</p>
  
  <pre><code>$articles=new Article;
  $articles-&gt;title='test title';
  $articles-&gt;user_id='2';
  $articles-&gt;body='This is article body';
  $articles-&gt;save();
  </code></pre>