PHP code example of flyaction / thinkphp-model-doc

1. Go to this page and download the library: Download flyaction/thinkphp-model-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/ */

    

flyaction / thinkphp-model-doc example snippets

 
php think modelDoc
 
# 修改common目录下的所有模型 
php think modelDoc -p common 
# 修改common目录下的User模型 
php think modelDoc -p common -m User