ddroche / yii2-swagger-generator
A Yii2 generator for RESTful API documentation with yii2-swagger
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-10-29 05:34:59 UTC
README
A Yii2 generator for RESTful API documentation with yii2-swagger
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist ddroche/yii2-swagger-generator "*"
or add
"ddroche/yii2-swagger-generator": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \ddroche\swaggergenerator\AutoloadExample::widget(); ?>```