Silex AutoDocs currently consists of one component, automatic routing documentation; more components are to follow.
This can be installed via packagist by require
ing 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: