Giter Site home page Giter Site logo

chq81 / phpdox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theseer/phpdox

1.0 1.0 0.0 4.99 MB

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

Home Page: http://phpdox.de

License: Other

PHP 78.78% Smarty 0.08% XSLT 17.08% CSS 2.42% HTML 1.35% Batchfile 0.28%

phpdox's Introduction

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

phpdox's People

Contributors

theseer avatar lapistano avatar chq81 avatar eriksencosta avatar macfja avatar sebastianbergmann avatar thomasweinert avatar yethee avatar covex-nn avatar qusonann avatar xiian avatar edorian avatar louislandry avatar eternal-infinity avatar homerjsimpson000 avatar vukanac avatar tobys avatar remicollet avatar redbeardcreator avatar jasonhofer avatar fmaz008 avatar panaceya avatar benpitman avatar hilbix avatar dereckson avatar swis avatar rubao avatar eimanavicius avatar svscorp avatar bergie avatar

Stargazers

Camille P avatar

Watchers

Camille P avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.