title: PHP Fatal error: Uncaught Error: Class 'Symfony\Component\Console\Application' not found
body: <p>I am trying to create a simple CLI app with PHP but I keep getting:</p>
  
  <pre><code>PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\Console\Application' not found in /Applications/MAMP/htdocs/newcli/dan.php:6
  Stack trace:
  #0 {main}
    thrown in /Applications/MAMP/htdocs/newcli/dan.php on line 6
  
  Fatal error: Uncaught Error: Class 'Symfony\Component\Console\Application' not found in /Applications/MAMP/htdocs/newcli/dan.php:6
  Stack trace:
  #0 {main}
    thrown in /Applications/MAMP/htdocs/newcli/dan.php on line 6
  </code></pre>
  
  <p>What am I doing wrong? My PHP version: <code>PHP 7.1.0RC6 (cli) (built: Nov  9 2016 04:45:59) ( NTS )</code></p>
  
  <p>dan.php:</p>
  
  <pre><code>#! usr/bin/env php
  &lt;?php use Symfony\Component\Console\Application;
  
  require 'vendor/autoload.php';
  
  $app = new Application('Task App', '1.0');
  
  $app-&gt;add(new Acme\ShowCommand());
  $app-&gt;run();
  </code></pre>