gianksp / cakephp-swagger
Swagger for CakePHP
Installs: 169 983
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
Type:cakephp-plugin
Requires
- php: >=5.3.0
- zircote/swagger-php: ^2.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2025-03-16 05:12:32 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