title: how shall I run a composer update command
body: <p>I am trying to ask the question as precisely as possible but I myself have lots of confusion about this.  So please bear with me</p>
  <p>Problem - We have a third party API (Recurly) installed in our site. That site was built with Laravel. The version of that API is now outdated and I want to update the version via composer.</p>
  <p>From the Recurly I have got the following instruction to upgrade the version</p>
  <p><em><strong><strong>In composer.json file update the line of code from &quot;recurly/recurly-client&quot;: &quot;2.8.<em>&quot;  to &quot;recurly/recurly-client&quot;: &quot;2.12.</em> . And this will upgrade your client library AND your API version.
  Once you do this, please run a composer update in your terminal-&gt;active directory w/ Recurly and it will update you:</strong></strong></em></p>
  <p>I have updated the line inside composer.json file. But I dont understand the second part of the instruction. How to run a composer update. Shall I update the composer itself? But I want to update the Recurly API version. is it necessary to update the composer itself?</p>
  <p>I have found this link: <a href="https://getcomposer.org/doc/03-cli.md#update-u" rel="nofollow noreferrer">https://getcomposer.org/doc/03-cli.md#update-u</a></p>
  <p>In this link its written</p>
  <p><em><strong>In order to get the latest versions of the dependencies and to update the composer.lock file, you should use the update command. This command is also aliased as upgrade as it does the same as upgrade does if you are thinking of apt-get or similar package managers.</strong></em></p>
  <pre><code>php composer.phar update
  </code></pre>
  <p>I am not sure Is this the command I need?</p>
  <p>Our webserver is with AWS. And we have WHM and cPanel installed to manage the web server.</p>
  <p>I understand my question is not not precise as expected . but I cant figure out where to start actually. Please suggest me accordingly</p>