Home PHP Libraries Other libraries Documentation generated PHP classes
phpDocumentor2-develop document generation library
#!/usr/bin/env php
<?php
/**
 * phpDocumentor
 *
 * PHP Version 5.3
 *
 * @copyright 2010-2013 Mike van Riel / Naenius (http://www.naenius.com)
 * @license   http://www.opensource.org/licenses/mit-license.php MIT
 * @link      http://phpdoc.org
 */


##trigger_error('phpDocumentor2 should be run from the phpdoc file, not phpdoc.php', E_USER_DEPRECATED);

require_once __DIR__.'/phpdoc';

phpDocumentor 2 is a program that can analyze PHP source code and comment blocks and generate documentation. Inspired by phpdocumentor 1 and javadoc, it continues to innovate using some new technologies and supports new features of php.

Features of phpDocumentor 2:

Compatible with php5.3, fully supports namespaces and closures, etc.

Recognition supports any tag, as well as some appended ones (such as @link).
Faster processing speed. Compared with phpDocumentor 1, the processing time under Zend Framework has been significantly reduced.
Low memory consumption, the memory consumption of small, medium and large projects is less than 20MB, 40MB and 100MB respectively.
Incremental analysis. If you have the structure.xml file obtained by running phpdoc before, the speed of regenerating the document after minor modifications will be increased by 80%.
It’s easy to create a template, just 1 small step and edit 3 files.
Compatible with the 1st generation command line. For example --directory, --file and --target
two-step processing. First generate a structure file. You can format relevant information according to this file and use your own tools to display the information!


Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

Demystifying PHP function documentation Demystifying PHP function documentation

12 Apr 2024

PHP function documentation provides function information, including: Function prototype: function name, parameter list, return value type Parameter description: parameter name, type, default value, purpose Return value description: return value type (int, string, etc.) Understanding this information can Allows you to effectively use PHP libraries. By reading prototypes, parameter descriptions, and return value descriptions, you can understand function behavior and integrate it into your code.

PHP reserved classes and special classes PHP reserved classes and special classes

21 Jun 2019

In object-oriented languages, there are some built-in basic functional classes provided by the language, such as Array, Number and other classes in JavaScript. There are also many such classes in PHP, such as Directory, stdClass, Exception and other classes.

What are the implications of using compiler-generated copy constructors for classes with nested objects? What are the implications of using compiler-generated copy constructors for classes with nested objects?

13 Nov 2024

Compiler-Generated Copy Constructors for Classes with Nested ObjectsWhen a class contains other objects and does not explicitly define a copy...

Documentation and resources for PHP libraries Documentation and resources for PHP libraries

22 Apr 2024

The PHP Function Library is the most comprehensive documentation and resource guide for PHP functions. Official documentation includes the PHP Manual (php.net), while community resources include the PHP Library Manual, Packagist, StackOverflow, and GitHub. In addition, third-party libraries (such as GuzzleHTTP, Carbon and Illuminate\Support) can extend the functions of the PHP function library and provide richer development tools.

How Do I Link Static Libraries That Depend on Other Static Libraries? How Do I Link Static Libraries That Depend on Other Static Libraries?

13 Dec 2024

Linking Static Libraries to Other Static Libraries: A Comprehensive ApproachStatic libraries provide a convenient mechanism to package reusable...

php program deployment documentation php program deployment documentation

06 May 2023

PHP program deployment document PHP, as a popular server-side scripting language, has been widely used in website development, web application development, command line scripting and other fields. How to deploy PHP programs has become one of the skills that every PHP programmer needs to master. This article will introduce the deployment process of PHP programs and help readers complete the deployment of PHP programs in different scenarios. 1. Set up the deployment environment. First, we need to install the PHP environment on the target machine. You can install PHP in the Linux environment through the following command:```$

See all articles