Download the PHP package vielhuber/slopdetector without Composer
On this page you can find all versions of the php package vielhuber/slopdetector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vielhuber/slopdetector
More information about vielhuber/slopdetector
Files in vielhuber/slopdetector
Package slopdetector
Short Description Provider-based PHP helper and MCP server for AI-text and plagiarism detection.
License MIT
Informations about the package slopdetector
🍲slopdetector🍲
slopdetector is a provider-based PHP helper and MCP server for AI-text and plagiarism detection.
the first provider is Pangram. additional providers can implement the small Provider interface without changing the public PHP or MCP API.
slopdetector requires PHP 8.5 or newer.
installation
configuration
copy .env.example to .env or provide the same variables through the process environment:
the API key is sent only in Pangram's x-api-key request header. text and files are transferred to Pangram for analysis. public dashboard links are disabled unless explicitly requested.
PHP
example response:
models are discovered dynamically. analyzeText() and submitBulk() deliberately require an explicit model so the integration remains valid when Pangram makes model selection mandatory after September 30, 2026. Pangram's file endpoint currently uses its server-side default model and therefore has no model argument.
supported file formats are PDF, DOCX, and RTF:
bulk jobs remain asynchronous:
providers
providers implement vielhuber\slopdetector\Provider. the selected provider is configured through PROVIDER; currently supported: pangram.
MCP server
available tools:
list_modelsanalyze_textcheck_plagiarismanalyze_filesubmit_bulkget_bulk_statusget_bulk_results
analyze_text hides Pangram's internal submit/poll cycle and returns the completed result. bulk processing exposes separate submit, status, and paginated result tools because jobs can be long-running.
tests
the test suite uses a fake transport and does not send texts, files, or API credentials to Pangram.