PHP code example of zhangjianping / frequency
1. Go to this page and download the library: Download zhangjianping/frequency 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/ */
zhangjianping / frequency example snippets
'testProject' => [
'prefix' => 'testProject', // 封禁名称
'time' => 20, // 每秒允许访问1次
'limit' => 1
]