

GitHub - cebe/yii2-openapi: REST API application generator for Yii2, openapi 3.0...
source link: https://github.com/cebe/yii2-openapi
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
yii2-openapi
Note: The status of this code is experimental. Use at your own risk.
REST API application generator for Yii2, openapi 3.0 YAML -> Yii2.
Base on Gii, the Yii Framework Code Generator.
what should this do?
Input: OpenAPI 3.0 YAML or JSON (via cebe/php-openapi)
Output: Controllers, Models, database schema
Features
This library is currently work in progress, current features are checked here when ready:
-
generate Controllers + Actions
-
generate Models
-
generate Database migration
-
update Database and models when API schema changes
Install
composer require cebe/php-openapi:~0.9@beta
Requirements
- PHP 7.1 or higher
Screenshots
Gii Generator Form:
Generated files:
Support
Professional support, consulting as well as software development services are available:
https://www.cebe.cc/en/contact
Development of this library is sponsored by cebe.☁️ "Your Professional Deployment Platform".
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK