PHP code example of hyperf-plus / devtool

1. Go to this page and download the library: Download hyperf-plus/devtool 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-plus / devtool example snippets

  
composer 
 bin/hyperf.php gen:model

  -d (可选)控制器的简介 
  -N (可选)命名空间 默认 \App\Controller\Admin
  -f (可选)如果文件存在则会强制覆盖
 php bin/hyperf.php gen:admin 
 php bin/hyperf.php gen:model users 
 php bin/hyperf.php gen:admin User -d 用户管理