2017 © Pedro Peláez
 

library documen

PHP document generator.

image

jimgitsit/documen

PHP document generator.

  • Thursday, August 25, 2016
  • by jimpacksit
  • Repository
  • 0 Watchers
  • 0 Stars
  • 195 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 5 % Grown

The README.md

Overview, (*1)

Documen produces html documentation from any php docbock including markup within the docblock. You can tell it to read the docblock on anything from a global function to a class to an entire file., (*2)

Install with composer, (*3)

"require": {
  "jimgitsit/documen": "dev-master"
}

Usage In the root of your PHP applicaiton create a file called documen.json. Here is where you will define what files, classes, methods, and function you want to generate documentation for. Here is an example documen.json file:, (*4)

{
  "output-dir": "/app/views/docs" <required, html output directory (relative to the vendor parent dir)>
  "css-file": "/public/css/document.css" <optional, custom css file>
  "classes": ["MyFancyClass"],
  "methods": [
    {
      "class": "MyFancyClass",
      "method": "fancyMethod"
    }
  ],
  "files": ["my-fancy-class.php"],
  "function": ["some_global_func"]
}

In terminal in project root run:, (*5)

php vendor/jimgitsit/documen/documen.php generate-docs

The Versions

25/08 2016

dev-master

9999999-dev

PHP document generator.

  Sources   Download

MIT

The Requires

 

by Jim McGowen

documentation