alexthegull / test_binary_tree_db
alexthegull binary tree database
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/alexthegull/test_binary_tree_db
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2025-11-08 19:05:00 UTC
README
Install
composer require cleantalk/spbct-heuristic-analyser
Using
<?php // Require composer autoloader require_once 'vendor/autoload.php'; use CleantalkSP\Common\Scanner\HeuristicAnalyser\Controller; use CleantalkSP\Common\Scanner\HeuristicAnalyser\Structures\FileInfo; // MyModel class need to be extended \CleantalkSP\Common\Scanner\HeuristicAnalyser\Model\Model $my_model = new myMoodel(); // Instantiate the scanner module $heuristic_scanner = new Controller($my_model); // Prepare files information $file_to_check = new FileInfo( 'name_of_the_file.php', 'full_hash' ); // $res will contain the scanning result $res = $heuristic_scanner->scanFile($file_to_check);