shoxabbos/yii2-apicrud

Create api documentation

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Type:yii2-extension

v1.0 2017-08-04 07:33 UTC

This package is not auto-updated.

Last update: 2024-04-28 01:29:26 UTC


README

Create api documentation

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist shoxabbos/yii2-apicrud "*"

or add

"shoxabbos/yii2-apicrud": "*"

to the require section of your composer.json file.

Demo

alt text

Usage

Once the extension is installed, simply use it in your code by :

1: Into this code to config/web.php file

'modules' => [
    'apidoc' => [
        'class' => 'shoxabbos\apicrud\Module'
    ]
],

2: You can run the migrations script provided to create the database structure from your yii programming console:

php yii migrate --migrationPath=@vendor/shoxabbos/yii2-apicrud/migrations

Developer Team http://www.qwerty.uz