title: Enabling PHP Code Assist for different PECL extensions in Eclipse
body: <p>I'm using a few PECL installed extensions in my PHP environment. I am developing with Eclipse and it would be useful to have Eclipse's code assist / auto-completion support for these extensions. This procedure worked quite well for the <a href="http://www.php.net/manual/en/book.solr.php">Solr</a> extension:</p>
  
  <ol>
  <li>I additionally downloaded the latest <a href="http://pecl.php.net/package/solr/0.9.11">solr-php PECL sources</a> and put them into a separate folder.</li>
  <li>I added this certain folder as an "external folder" to one of my User Libs (Prefrences -> PHP -> PHP Libraries).</li>
  <li>I added the user lib to my project's php include path (Properties -> PHP Include Path -> Libraries -> Add Library)</li>
  <li>I immediately had the new classes/methods available in the editor's auto-completion.</li>
  </ol>
  
  <p>The problem is: This doesn't seem to work for all extensions. E. g. for the <a href="http://php.net/manual/en/book.mongo.php">extension</a> adding MongoDB support to PHP. Why is that?</p>
  
  <p>Comparing the folders' contents I notice that the Mongo extension is missing a php file like docs/documentation.php (which is contained in the Solr extension). Whereas all relevant *.h and *.c files are available.</p>
  
  <p>Do I have to generate certain file(s) by myself?</p>
  
  <p>Thanks in advance for your hints, cheers!</p>