PHP code example of hyperf-apex / apidoc-apifox
1. Go to this page and download the library: Download hyperf-apex/apidoc-apifox 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/ */
hyperf-apex / apidoc-apifox example snippets
bash
composer rf.php vendor:publish hyperf-apex/apidoc-apifox --id=config
bash
php bin/hyperf.php api-doc:generate-apifox # 生成 apifox.json