Ana Sayfa / Kod ve Scriptler / Spectre - AI Browser And Bot Detection Library

Spectre - AI Browser And Bot Detection Library

Spectre - PHP için AI Koruma Paketi ve Bot Tespiti

  • Yayın tarihi3 Aralık 2025
  • Nerede çalışırPHP 8.2, PHP 8.3, PHP 8.4
  • Paket içeriği.php, .html
  • Son güncelleme3 Aralık 2025
Spectre - AI Browser And Bot Detection Library

Overview

🚀 Spectre – AI Browser & Bot Detection Library

Spectre is a professional, high-performance PHP library designed for detecting AI browsers and bots. Built with modern PHP 8.2+ features, it offers a robust hybrid detection system combining server-side User-Agent analysis with client-side JavaScript fingerprinting.

💡 Why Choose Spectre?

Spectre is built to be lightweight yet powerful. It integrates seamlessly into any PHP project, whether you're building a CMS, analytics platform, content protection system, or API gateway. The hybrid detection approach ensures high accuracy even for browsers that actively mask their identity.

🌐 Browser & Bot Support

Browser/BotDetection MethodAccuracy
CometChrome 140+ + AI APIs⭐⭐⭐⭐⭐ High
ArcCSS Variable Fingerprinting⭐⭐⭐⭐⭐ High
BraveNavigator Object⭐⭐⭐⭐⭐ High
SearchGPTUser-Agent Analysis⭐⭐⭐⭐⭐ High
CopilotUser-Agent Analysis⭐⭐⭐⭐ Good
ClaudeBotUser-Agent Analysis⭐⭐⭐⭐⭐ High
GPTBotUser-Agent Analysis⭐⭐⭐⭐⭐ High

Features

✨ Key Features

  • Hybrid Detection: Combines server-side PHP analysis with client-side JavaScript fingerprinting for maximum accuracy.
  • AI Browser Support: Detects Comet, Arc, Brave, and other emerging AI browsers.
  • Bot Detection: Identifies SearchGPT, ClaudeBot, GPTBot, and Microsoft Copilot.
  • Zero Dependencies: Standalone library that works with any PHP 8.2+ project.
  • Modular Architecture: Driver-based system for easy extensibility.
  • Privacy-Focused: Detects browser technology without compromising user privacy.
  • Modern PHP: Utilizes enums, readonly properties, and strict typing.

Requirements

⚙️ Requirements

  • PHP 8.2 or higher
  • No external dependencies required