PHP code example of ydg / hyperf-admin-core

1. Go to this page and download the library: Download ydg/hyperf-admin-core 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/ */

    

ydg / hyperf-admin-core example snippets

text
./src                                       
└── Abstracts                               # 抽象类
    ├── AbstractController.php              # 控制器抽象类
    ├── AbstractMapper.php                  # 数据映射抽象类
    ├── AbstractService.php                 # 服务层抽象类
└── Annotation                              # 注解类
    ├── Transaction.php                     # 数据库事务注解
└── Aspect                                  # 切面类
    ├── TransactionAspect.php               # 数据库事务切面类
└── Exception                               # 异常类
└── Traits                                  # 特征类
└── Collection.php                          # 集合类
└── FormRequest.php                         # 请求验证类
└── Model.php                               # 模型类
└── Request.php                             # 请求类
└── Response.php                            # 响应类
...