PHP code example of church / yaf-template

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

    

church / yaf-template example snippets

shell
php console #查看可用命令
php console make:controller Articles	#创建控制器
php console make:model Articles	#创建模型
php console make:plugin Test	#创建插件