From 1781a109f29b361688da01ad444fdd5e537627f1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Feb 2026 08:04:18 +0000 Subject: [PATCH 1/2] Initial plan From df7d644cbae3249d4dccc54830a7a876bc21bee3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Feb 2026 08:05:25 +0000 Subject: [PATCH 2/2] Fix Laravel example: use fromYamlFile and import Blacklist in README.md Co-authored-by: makomweb <1567373+makomweb@users.noreply.github.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f57cc7..f473855 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ Tactix can be integrated into Laravel projects with a custom service provider. namespace App\Providers; use Illuminate\Support\ServiceProvider; -use Symfony\Component\Yaml\Yaml; +use Tactix\Blacklist; use Tactix\BlacklistFactory; class BlacklistProvider extends ServiceProvider @@ -194,7 +194,7 @@ class BlacklistProvider extends ServiceProvider $configPath = config_path('tactix.yaml'); return file_exists($configPath) - ? BlacklistFactory::fromYaml($configPath) + ? BlacklistFactory::fromYamlFile($configPath) : BlacklistFactory::DEFAULT(); }); }