eloipoch / composerdoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Composerdoc Command Line Utility

[Build Status](https://travis-ci. org/jwpage/composerdoc)

Composerdoc is a tool that allows you to dump a listing of the required packages within your project to a markdown format for documentation purposes.

Installation

Add this to your composer.json by running composer.phar require jwpage/composerdoc --dev.

Or alternatively, as Composerdoc is a documentation tool, you can install it separately and run it with the --path option.

echo -n '{ "require": { "jwpage/composerdoc": "*" } }' > composer.json
composer.phar install

Usage

To generate composerdoc output:

./vendor/bin/composerdoc

To use a custom directory path:

./vendor/bin/composerdoc --path <path_to_composer.json>

To include dev requirements:

./vendor/bin/composerdoc --dev

To include requirements of requirements:

./vendor/bin/composerdoc --sub

Example Output

Required Packages

Dev Packages

Running Tests

First, install PHPUnit with composer.phar install --dev, then run ./vendor/bin/phpunit.

About

License:MIT License