The ElenyumApiDocBundle bundle allows you to create module structure and generate a decent documentation for your APIs.
Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:
composer require elenyum/api-doc-bundle
Install the Composer dependencies:
git clone https://github.com/app-elenyum/ElenyumApiDocBundle.git
cd ElenyumApiDocBundle
composer update
Then run the test suite:
./phpunit
This bundle is released under the MIT license.