adamquaile/silex-autodocs

There is no license information available for the latest version (dev-master) of this package.

Automatically generate documentation, only silex routes supported currently

dev-master 2013-12-29 19:38 UTC

This package is auto-updated.

Last update: 2024-10-25 07:01:27 UTC


README

Silex AutoDocs currently consists of one component, automatic routing documentation; more components are to follow.

Installation / Usage

This can be installed via packagist by requireing adamquaile/silex-autodocs from packagist.

{
    "name": "Your App",
    "require": {
        "adamquaile/silex-autodocs": "*"
    }
}

In your bootstrap file you must register the app in order to have the url /autodocs/routes available and usable.

<?php

$app = new \Silex\Application();
\AdamQuaile\Silex\AutoDocs\Routing::register($app);

All should be ready, now go to /autodocs/routes. You should see a page like this:

Sample Screenshot of Silex Autodocs