Tools Docs Install basic template in ../basic add "yiisoft/yii2-apidoc": "~2.1.0" to composer.json Then update docs: ../basic/vendor/bin/apidoc api . ./docs/