Issue #19 · Updates the YamlFileLoader loader to read from /Resources/metadata/ by default, simplifying usability. An absolute path can still be passed to override the default behavior.
# Instantiate a BotDetector with the YamlFileLoader instance and path to YAML.
$detector = new Vipx\BotDetect\BotDetector($loader, 'extended.yml');
Issue #19 · Updates the
YamlFileLoader
loader to read from/Resources/metadata/
by default, simplifying usability. An absolute path can still be passed to override the default behavior.