PHP code example of cnitker / file_build

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

    

cnitker / file_build example snippets


php think make:file-build --namespace app/admin/controller/content --model GoodsOrder

 --namespace 控制器生成目录
 --model  数据库预设模型名称
 --replace  覆盖已生成文件默认:false