Download the PHP package kaz29/cakephp-open-api-theme-plugin without Composer
On this page you can find all versions of the php package kaz29/cakephp-open-api-theme-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kaz29/cakephp-open-api-theme-plugin
More information about kaz29/cakephp-open-api-theme-plugin
Files in kaz29/cakephp-open-api-theme-plugin
Package cakephp-open-api-theme-plugin
Short Description OpenApiTheme plugin for CakePHP
License MIT
Informations about the package cakephp-open-api-theme-plugin
OpenApiTheme plugin for CakePHP
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
Dependency
Setup
- Copy
swagger-settings.php
to config directory. - Describe the settings of your application in
swagger-settings.php
. -
Add
"build:swagger" : "build-swagger-json"
into your app's composer.json scripts section. -
Add the following configuration to the end of config/bootstrap_cli.php.
- Change Application.php as follows.
Usage example
bake controller
bake model
create swagger.json
Baked example
A baked example of the CakePHP CMS Tutorial can be found in the example directory.
Author
Kazuhiro Watanabe - cyo [at] mac.com - https://twitter.com/kaz_29
License
OpenApiTheme plugin for CakePHP is licensed under the MIT License - see the LICENSE file for details
All versions of cakephp-open-api-theme-plugin with dependencies
cakephp/cakephp Version ^5.0.1
cakephp/bake Version ^3.1
zircote/swagger-php Version ^4.9