cakephp-plugin cakephp-swagger
Swagger for CakePHP
gianksp/cakephp-swagger
Swagger for CakePHP
- Thursday, June 22, 2017
- by gianksp
- Repository
- 1 Watchers
- 0 Stars
- 3,330 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 1 Open issues
- 1 Versions
- 31 % Grown
Swagger CakePHP 2.0 Module
A quick implementation to provide Swagger documentation as a CakePHP 2.0 plugin, (*1)
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, (*2)
http://localhost:8080/docs