title: Valet Install On Mac - Cannot Redeclare
body: <p>I'm installing Valet on my MacBook Pro - El Capitan.</p>
  
  <p>I installed PHP and MySQL with Homebrew as suggested on the Valet documentation page.</p>
  
  <p>However, when I try to install Valet, I get the error:</p>
  
  <blockquote>
    <p>PHP Fatal error:  Cannot redeclare resolve() (previously declared in /Users/marc/.composer/vendor/hoa/core/Protocol.php:1140) in /Users/marc/.composer/vendor/laravel/valet/cli/includes/helpers.php on line 57</p>
    
    <p>Fatal error: Cannot redeclare resolve() (previously declared in /Users/marc/.composer/vendor/hoa/core/Protocol.php:1140) in /Users/marc/.composer/vendor/laravel/valet/cli/includes/helpers.php on line 57</p>
  </blockquote>
  
  <p>My composer.json file looks like this:</p>
  
  <pre><code>{
      "require": {
          "phpunit/phpunit": "~4.2",
          "phpmetrics/phpmetrics": "^1.10",
          "laravel/valet": "^1.1"
      }
  }
  </code></pre>
  
  <p>I have tried deleting composer.lock and deleted the vendor directory, then <code>composer install</code>, but nothing changes. Any one have any advice here?</p>