Skip to content

New. Code. Library BotDetectorService implementation.#1

Merged
Glomberg merged 7 commits into
masterfrom
Library-implementation-VI
Jul 17, 2026
Merged

New. Code. Library BotDetectorService implementation.#1
Glomberg merged 7 commits into
masterfrom
Library-implementation-VI

Conversation

@Glomberg

@Glomberg Glomberg commented Jul 16, 2026

Copy link
Copy Markdown
Member

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new PHP library component for retrieving and caching a Bot Detector JS wrapper URL, and updates dependency/ignore settings to support that implementation.

Changes:

  • Introduces Cleantalk\Common\BotDetectorService\BotDetectorService abstract class with wrapper URL retrieval/update flow.
  • Adds cleantalk/http as a runtime dependency in composer.json.
  • Expands .gitignore to exclude Composer/vendor and PHPUnit cache artifacts.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 6 comments.

File Description
composer.json Adds cleantalk/http to runtime dependencies.
BotDetectorService.php New abstract service for loading/updating and escaping the wrapper URL.
.gitignore Ignores vendor and common Composer/PHPUnit generated files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread composer.json
Comment thread BotDetectorService.php
Comment thread BotDetectorService.php
Comment thread BotDetectorService.php Outdated
Comment thread BotDetectorService.php
Comment thread BotDetectorService.php
@Glomberg Glomberg changed the title New. Code. Library implementation. New. Code. Library BotDetectorService implementation. Jul 16, 2026
Comment thread BotDetectorService.php Outdated
@Glomberg
Glomberg requested a review from alexandergull July 17, 2026 11:40
@Glomberg
Glomberg merged commit 1790794 into master Jul 17, 2026
3 checks passed
@Glomberg
Glomberg deleted the Library-implementation-VI branch July 17, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants