Is there any replacement for PHPDocumentor that supports PHP 5.3?

后端 未结 5 994
心在旅途
心在旅途 2021-02-01 19:12

Some of the new PHP 5.3 features, including namespaces and anonymous functions, are not compatible with PHPDocumentor, even with the latest release. For example, it just raises

5条回答
  •  借酒劲吻你
    2021-02-01 19:40

    This was already mentioned in a comment by @mvriel, but I'll make it an answer: phpDocumentor's successor is phpDocumentor 2. From its website:

    phpDocumentor 2 is build to generate API documentation for all features available in PHP 5.3 and higher.

    phpDocumentor 2 is the result of the merge between phpDocumentor and DocBlox. From the merge announcement in DocBlox's website:

    Announcing phpDocumentor 2 – the merging of the old (phpDocumentor) and the new (DocBlox).

    ...

    Old phpDocumentor is retiring. Some bugfix effort may continue into bringing phpDocumentor 1.x to a close, but most effort going forward will be spent on 2.x.

    It's still in alpha stage (as of 2013-04-01), but usable.

提交回复
热议问题