title: How do I run a Symfony Console command after composer install?
body: <p>My <code>composer.json</code> contains the following declaration:</p>
  
  <pre><code>    "post-install-cmd": [
          "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
          "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
          "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
          "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
          "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
      ],
  </code></pre>
  
  <p>I want to run a custom console command that I have in <code>src/MyBundle/Command/MyCommand.php</code>. How do I add this to the scripts to run in composer?</p>