gianksp/cakephp-swagger

Swagger for CakePHP

Installs: 87 917

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

Type:cakephp-plugin

dev-master 2017-06-22 16:34 UTC

This package is not auto-updated.

Last update: 2024-04-28 00:16:24 UTC


README

A quick implementation to provide Swagger documentation as a CakePHP 2.0 plugin

Installation

composer require gianksp/cakephp-swagger:dev-master

Usage

  • Add the following to your Config/bootstrap.php file
    CakePlugin::load( array( 'Swagger' => array( 'routes' => true, 'bootstrap'=>true ) ) );

When running your project you will have access to the generated JSON at

   http://localhost:8080/docs