PHP code example of opqnext / reflection-api-doc
1. Go to this page and download the library: Download opqnext/reflection-api-doc library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
opqnext / reflection-api-doc example snippets
return [
'title' => "thinkphp5接口自动生成文档",
'description' => 'thinkphp5 | api接口文档等等。',
'template' => 'apple', // 苹果绿:apple 葡萄紫:grape
'class' => [
'app\index\controller\Article'
// ...
],
];