saxulum/saxulum-phpdoc-generator

This package is abandoned and no longer maintained. No replacement package was suggested.

Saxulum PhpDoc Generator

1.0-rc1 2015-02-07 18:49 UTC

README

Build Status Total Downloads Latest Stable Version Scrutinizer Code Quality

Features

This library allow to generate phpdoc based on objects.

Requirements

  • php: >=5.3

Installation

Through Composer as saxulum/saxulum-phpdoc-generator.

Usage

Watch the original phpDocumentor documentation

Code

$documentor = new Documentor(array(
    new ParamRow('string', 'name'),
    new ReturnRow('string'),
));

Output

/**
 * @param string $name
 * @return string
 */