APIGen Plugin: PHP Project API Generator
Do you need to generate API documentation for your PHP project? There is nothing easier than to use APIGen and its APIGen NetBeans plugin.
APIGen plugin is tool which integrates API documentation generator APIGen into the NetBeans IDE. You can simply generate project API documentation from the PHP project context menu. The most known API documentation generated by APIGen is the Nette Framework API documentation.
If you want to know more information you can read them in the blog post about PHP APIGen support in the NetBeans IDE.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)





Comments
Arian Maykon replied on Tue, 2011/01/18 - 7:33am
Ondřej Brejla replied on Tue, 2011/01/18 - 11:34am
PHPDoc? You mean that "old veteran" which can't handle PHP 5.3 features like namespaces and which is not developed anymore? You can use the same "annotation syntax" for APIGen and it's really really faster then phpDocumentor. It takes 11s to generate the Nette Framework documentation using APIGen and more than 2mins using phpDocumentor.
But you can use whatever you want. This is just another possibility.
More information about APIGen [cz] - http://phpfashion.com/jak-se-pise-generator-api-dokumentace
Jeff Rubinoff replied on Thu, 2011/01/20 - 12:49pm
The APIGen doesn't seem to read NetBeans global include path. It failed on a small ZF project because it could not find Zend_Application_Bootstrap_Bootstrap. The project runs just fine.
Also, you might want to look into changing the plugin so it does not have a build-specific dependency on the NB PHP component. Otherwise you will have to create a new version of the plugin for every NB release. I'm fairly certain that there's a way to write the plugin so the dependency is not build-specific, but I don't know how to do this myself :( Anyway, it won't install on 7.0 builds.
Ondřej Brejla replied on Thu, 2011/01/20 - 1:07pm
in response to: JeffRubinoff
Yes, it doesn't read NB global include path, it just runs APIGen scripts and they don't know your path... But thats great feature request, I'll try to fix it in the next version.
Answer to the second part is written here: APIGen plugin - plugin portal (and it's specified there, that it works with 6.9.1 (Build 201007282301) - because of the PHP dependency)
Goran Miskovic replied on Fri, 2011/02/04 - 5:56am
Ondřej Brejla replied on Fri, 2011/02/04 - 6:15am
in response to: schkovich
Ryan Fitz replied on Mon, 2011/11/21 - 2:07am
in response to: OndrejBrejla