title: composer says my php version is 7.3 but i am already installing php 8.0.2
body: <p>I am working with a laravel framework and use composer to install a specific version of packages but I am getting an error form composer as following</p>
  <pre><code>Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version &quot;&gt;= 7.4.12&quot;. You are running 7.3.11. in /Users/mac/Documents/laravel_projects/covid_site/demo_1/vendor/composer/platform_check.php on line 24
  </code></pre>
  <p>but when I run php info from xampp it says my php version is 8.0.2 as following image
  <a href="https://i.stack.imgur.com/fv3JS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fv3JS.png" alt="enter image description here" /></a></p>
  <p>how I can solve this issue ?</p>
  <blockquote>
  <p>I am using mac OS</p>
  </blockquote>