2017 © Pedro Peláez
 

library phpdoc-md

PHP documentation generator, with markdown output

image

sant0ro/phpdoc-md

PHP documentation generator, with markdown output

  • Tuesday, September 26, 2017
  • by sant0ro
  • Repository
  • 1 Watchers
  • 1 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 43 Forks
  • 0 Open issues
  • 20 Versions
  • 75 % Grown

The README.md

phpDoc Markdown Generator

This is a script that can generate markdown (.md) files for your API documentation., (*1)

It is tailored for projects using PSR-0, PSR-1, PSR-2, PSR-4 and namespaces. The project was primarily developed for sabre/dav, but it should work for other codebases as well., (*2)

It only documents classes and interfaces., (*3)

The code is ugly, it was intended as a one-off, and I was in a hurry.. so the codebase may not be up to your standards. (it certainly isn't up to mine)., (*4)

Installation

This project assumes you have composer installed. Simply add:, (*5)

"require-dev" : {
    "evert/phpdoc-md" : "~0.2.0"
}

To your composer.json, and then you can simply install with:, (*6)

composer install

Usage

First ensure that phpdocumentor 2 is installed somewhere, after, you must generate a file called structure.xml., (*7)

The easiest is to create a temporary directory, for example named docs/., (*8)

# phpdoc command
phpdoc  -d [project path] -t docs/ --template="xml"

# Next, run phpdocmd:
phpdocmd docs/structure.xml [outputdir]

Options

--lt [template]
    This specifies the 'template' for links we're generating. By default
    this is "%c.md".

--index [filename]
    This specifies the 'filename' for API Index markdown file we're generating.
    By default this is "ApiIndex.md".

This should generate all the .md files. I'm excited to hear your feedback., (*9)

Cheers, Evert, (*10)

The Versions

26/09 2017

dev-master

9999999-dev https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

26/09 2017

0.5.1

0.5.1.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

09/06 2017

0.5.0

0.5.0.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

09/06 2017

0.4.9

0.4.9.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

09/06 2017

0.4.8

0.4.8.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

09/06 2017

0.4.7

0.4.7.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

09/06 2017

0.4.6

0.4.6.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

09/06 2017

0.4.5

0.4.5.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

09/06 2017

0.4.0

0.4.0.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

09/06 2017

0.3.0

0.3.0.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

11/02 2016

0.2.0

0.2.0.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

27/03 2015

0.1.1

0.1.1.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

01/09 2014

0.1.0

0.1.0.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

The Development Requires

php phpdoc markdown

11/02 2013

0.0.7

0.0.7.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

php phpdoc markdown

07/11 2012

0.0.6

0.0.6.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

php phpdoc markdown

07/11 2012

0.0.5

0.0.5.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

php phpdoc markdown

06/11 2012

0.0.4

0.0.4.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

php phpdoc markdown

06/11 2012

0.0.3

0.0.3.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

php phpdoc markdown

06/11 2012

0.0.2

0.0.2.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

php phpdoc markdown

02/11 2012

0.0.1

0.0.1.0 https://github.com/evert/phpdoc-md

PHP documentation generator, with markdown output

  Sources   Download

MIT

The Requires

 

php phpdoc markdown