promptphp/intercept
PromptPHP Intercept is a Laravel package for capturing, inspecting, and modifying AI prompts and responses before they reach LLM providers, with middleware-style hooks for logging, redaction, caching, and testing.
A modular, drop-in middleware collection for Laravel AI SDK agents. Offers middleware across security, observability, performance and guidance.
How can I help you explore Laravel packages today?