PHP code example of holyrisk / php-tools-handle

1. Go to this page and download the library: Download holyrisk/php-tools-handle 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/ */

    

holyrisk / php-tools-handle example snippets


   composer 

   https://github.com/HolyRisk/php-tools-handle
   

    'think\Paginator'    =>    'Holyrisk\PhpToolsHandle\Layui',//新增
   

   
   use app\ExceptionHandle;
   use app\Request;
   
   // 容器Provider定义文件
   return [
       'think\Request'          => Request::class,
       'think\exception\Handle' => ExceptionHandle::class,
       'think\Paginator'    =>    'Holyrisk\TpLayuiPage\Layui',//新增
   ];