1. Go to this page and download the library: Download flagupdown/scanner 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/ */
flagupdown / scanner example snippets
fn("param0","param1");
use FlagUpDown\ScanFunction;
//指明扫描函数,可以扫描多个
$scanFunction = new ScanFunction(['fn']);
//扫描指定文件
$result = $scanFunction->scan('data.php');