promptphp/intercept-injection-guard
A Laravel package that intercepts and blocks prompt-injection attempts before they reach your AI integrations, with configurable detection rules and middleware-style protection for safer LLM-powered applications.
PromptPHP Intercept Injection Guard is a lightweight PHP package that detects and blocks prompt injection attempts before they reach your LLM. It scans user input for adversarial patterns—instruction overrides, role hijacking, and hidden delimiters—so your prompts stay trustworthy.
How can I help you explore Laravel packages today?