title: What is the proper way to save form data in Laravel (using an injected model)?
body: <p>I'm trying to setup a simple form to save, but want to be sure we are using best practices, like DI. </p>
  
  <p>In the controller file, I have</p>
  
  <pre><code>public function store()
  {
      //get form data
      $data = Input::all();
  
      $newclient = new Client($data);
      $newclient-&gt;save();
      return Redirect::route('clients.index');
  }
  </code></pre>
  
  <p>But that really isn't dependency injection. (right?) I injected the model like this</p>
  
  <pre><code>public function __construct(\Client $clientmodel)
  {
      $this-&gt;clientmodel=$clientmodel;
  }
  </code></pre>
  
  <p>How would I save the form data on the store function properly, using dependency injection?</p>