From d2eaa1fe7333b974a16eb41032d77659c043d897 Mon Sep 17 00:00:00 2001 From: netkas Date: Thu, 24 Oct 2024 15:23:28 -0400 Subject: [PATCH] Added Captcha library --- .idea/php.xml | 2 ++ project.json | 5 +++++ tests/Socialbox/Other/CaptchaTest.php | 17 +++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 tests/Socialbox/Other/CaptchaTest.php diff --git a/.idea/php.xml b/.idea/php.xml index 6f8f81e..d8ba44c 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -12,6 +12,8 @@ + + diff --git a/project.json b/project.json index ac332be..985bc07 100644 --- a/project.json +++ b/project.json @@ -44,6 +44,11 @@ "name": "net.nosial.optslib", "version": "latest", "source": "nosial/libs.opts=latest@n64" + }, + { + "name": "com.gregwar.captcha", + "version": "latest", + "source": "gregwar/captcha=latest@packagist" } ], "configurations": [ diff --git a/tests/Socialbox/Other/CaptchaTest.php b/tests/Socialbox/Other/CaptchaTest.php new file mode 100644 index 0000000..b192f1a --- /dev/null +++ b/tests/Socialbox/Other/CaptchaTest.php @@ -0,0 +1,17 @@ +build(); + + $builder->save(__DIR__ . DIRECTORY_SEPARATOR . 'test.png'); + } +} \ No newline at end of file