daodao97/apidoc

This package is abandoned and no longer maintained. No replacement package was suggested.

yii api doc

dev-master 2017-07-31 02:51 UTC

This package is auto-updated.

Last update: 2020-09-11 14:04:12 UTC


README

#1.composer require daodao97/apidoc:dev-master --dev

#2.config/web.php

  //config/web.php
  
  $config = [
      ...
      'modules' => [
        'apidoc' => [
            'class' => 'daodao97\apidoc\Module',
        ],
      ],
      ...
  ]

#3. config/params.php

    'apidoc'=>[
        'scan_dir'=>[
            'app/controllers',
        ]
    ]