title: How can I update php through homebrew
body: <p>My previous php version is 7.3 and it was default in mac os. After installing new PHP version 7.4 with homebrew I update the php path.
  When I run php --version it shows me php v7.4.23 but when I run any php code it doesn't work. I think I need to do some configuration in my settings. I follow some tutorial but nothing resolve my issue</p>
  <p>Whenever I run any php it gives me this error</p>
  <pre><code>Fatal error: require(): Failed opening required '/Users/Raymond Tucker/projects/test/vue-test/foridpur_ict/vendor/autoload.php' (include_path='.:/usr/local/Cellar/php@7.4/7.4.22/share/php@7.4/pear') in /Users/Raymond Tucker/projects/test/vue-test/foridpur_ict/artisan on line 18
  </code></pre>
  <p>This is my output of $ where php</p>
  <pre><code>➜  ~ where php
  /usr/local/opt/php@7.4/bin/php
  /usr/local/opt/php@7.4/bin/php
  /usr/local/bin/php
  /usr/bin/php
  ➜  ~ 
  </code></pre>