phpdox

Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)

  • Owner: theseer/phpdox
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

phpDox

phpDox is a documentation generator for PHP projects.
This includes, but is not limited to, API documentation. The main focus is on enriching
the generated documentation with additional details like code coverage, complexity information
and more.

Build Status
Scrutinizer Code Quality

Requirements

Phar Installation

phpDox is shipping as a selfcontained executable phar archive. You can grab your copy from the
releases section or install using phive:

phive install phpdox

You can now execute phpdox on the command line:

tools/phpdox --version

If everything worked out, you should get an output like this:

phpDox 0.11.2 - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors

Note: Some Linux distributions ship PHP with ext/suhosin and disabled phar execution. To make use of phpDox in such an environment, you need to enable phar execution by adding phar to the executor white list: suhosin.executor.include.whitelist="phar"

Composer Installation

Additionally, phpDox can be installed via composer:

composer require --dev theseer/phpdox 

You can now execute phpdox on the command line:

vendor/bin/phpdox --version

If everything worked out, you should get an output like this:

phpDox 0.11.2 - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors

Developer Installation

In case you want to go bleeding edge or hack on the source, you will have to clone this repository.

git clone git://github.com/theseer/phpdox.git
composer install

Usage Examples

You can run phpDox like this:

phpdox --help

As of version 0.4 phpDox requires an xml configuration file. In case a project you want to generate documentation for does not come with one, you can create it by calling

phpdox --skel > phpdox.xml.dist

Sample invocation to parse and generate output based on the default phpdox.xml configuration file

phpdox

or you can tell phpdox what configuration file to use by calling switch --file or in short

phpdox -f path/to/phpdox.xml

Main metrics

Overview
Name With Ownertheseer/phpdox
Primary LanguagePHP
Program languagePHP (Language Count: 6)
Platform
License:Other
所有者活动
Created At2010-09-26 21:42:53
Pushed At2023-04-20 13:44:47
Last Commit At2023-04-17 13:36:53
Release Count23
Last Release Name0.12.0 (Posted on 2019-03-13 10:34:21)
First Release Name0.4 (Posted on 2012-12-09 12:00:36)
用户参与
Stargazers Count599
Watchers Count25
Fork Count121
Commits Count1.1k
Has Issues Enabled
Issues Count312
Issue Open Count47
Pull Requests Count82
Pull Requests Open Count4
Pull Requests Close Count34
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private