2017 © Pedro Peláez
 

library api-autodoc

An automatic API documentation creation utility.

image

rabblerouser/api-autodoc

An automatic API documentation creation utility.

  • Thursday, September 1, 2016
  • by chbeninati
  • Repository
  • 4 Watchers
  • 2 Stars
  • 31 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

laravel-api-autodoc

An automatic api documentation generator for Laravel applications., (*1)

Quick Start

Installation

Install Through Composer

You can either add the package directly by firing this command, (*2)

$ composer require rabblerouser/api-autodoc:*

-- or --, (*3)

Add in the require key of composer.json file manually, (*4)

"rabblerouser/api-autodoc": "*"

And Run the Composer update command, (*5)

$ composer update

Add Service Providers (Lumen)

Add the following service providers to your bootstrap/app.php file., (*6)

$app->register(RabbleRouser\ApiAutoDoc\Providers\DocumentationServiceProvider::class);
$app->register('Irazasyed\Larasupport\Providers\ArtisanServiceProvider');

Add Service Providers (Laravel)

Add the following service providers to your config/app.php file., (*7)

'providers' => [
    // Other Service Providers
        RabbleRouser\ApiAutoDoc\Providers\DocumentationServiceProvider::class,
        'Irazasyed\Larasupport\Providers\ArtisanServiceProvider'
],

Override Doc View Templates

If you want to override the default view templates, run the artisan publish command., (*8)

$ php artisan vendor:publish

This will create a vendor/api-autodoc/views/ directory in the resources directory of your Lumen/Laravel installation. Api AutoDoc will load those templates instead of its defaults., (*9)

Usage

In your application's routes.php file, add a docCategory parameter to the route array., (*10)

Example

    $app->get('some_resource', [
        'uses' => 'App\Http\Controllers\SomeResourceController@index',
        'docCategory' => 'Some Resource'
    ]);

You can see your autogenerated API documentation by going to the /docs page of your site., (*11)

Example

    http://api.mywebservice.com/docs

License

MIT © Rabble + Rouser, (*12)

The Versions

01/09 2016

dev-master

9999999-dev http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

04/01 2016

0.1.3

0.1.3.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

31/12 2015

0.1.2

0.1.2.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

29/12 2015

0.1.1

0.1.1.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

29/12 2015

0.0.8

0.0.8.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

28/12 2015

0.0.7

0.0.7.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

23/09 2015

0.0.6

0.0.6.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

23/09 2015

0.0.5

0.0.5.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

23/09 2015

0.0.4

0.0.4.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

23/09 2015

0.0.3

0.0.3.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

23/09 2015

0.0.2

0.0.2.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice

23/09 2015

0.0.1

0.0.1.0 http://rabbleandrouser.com

An automatic API documentation creation utility.

  Sources   Download

MIT

The Requires

 

by Chad Beninati

api documentation webservice