title: MVC/PHP Where do I put code that make requests?
body: <p>I am currently trying to make a project using MVC (<strong>with laravel</strong>).</p>
  
  <p>After searching, I didn't find a case that tells me exactly where (Controller or Model) I have to put my code that:</p>
  
  <ol>
  <li>Get a webpage html source (with cUrl or something similar)</li>
  <li><strong>Parses the html code</strong> to take some informations on it</li>
  <li>Put the parsed informations into a database</li>
  </ol>
  
  <blockquote>
    <p>I think it's the controller part but am I right ?</p>
  </blockquote>
  
  <p>Here is how it works:</p>
  
  <p><a href="https://i.stack.imgur.com/WG5HQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WG5HQ.png" alt="enter image description here"></a></p>