promptphp / intercept
A modular, drop-in middleware kit for Laravel AI agents. Protect, observe, and govern your AI agents with granular, install-what-you-need middleware packages.
Requires
- php: ^8.4.0
- laravel/ai: ^0.8.0
Requires (Dev)
- laravel/pint: ^1.29.1
- mrpunyapal/rector-pest: ^0.2.15
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^5.0.0
- pestphp/pest-plugin-type-coverage: ^5.0.0
- phpstan/phpstan: ^2.1.54
- rector/rector: ^2.4.2
- symfony/var-dumper: ^8.0.8
Replaces
- promptphp/intercept-injection-guard: v0.1.3
- promptphp/intercept-pii-redactor: v0.1.3
- promptphp/intercept-support: v0.1.3
README
Introduction
Intercept is a modular, drop-in collection of reusable AI agent middlewares for the Laravel AI SDK.
Requirements
Requires PHP 8.4+ and
laravel/ai.
Available Middlewares
Browse the full catalog of middlewares on the documentation site.
Documentation
Full documentation can be found at https://intercept.promptphp.com/ or the docs directory on GitHub.
Contributing
Thank you for considering contributing to Intercept by PromptPHP. The contribution guide can be found in CONTRIBUTING.md.
Code of Conduct
We follow the Laravel Code of Conduct. We expect you to abide by these guidelines as well.
Security Vulnerabilities
If you discover a security vulnerability within Intercept by PromptPHP, please email Victor Ukam at victorjohnukam@gmail.com. All security vulnerabilities will be addressed promptly.
License
Intercept by PromptPHP is open-sourced software licensed under the MIT license.
Support
This library is created by Victor Ukam with contributions from the Open Source Community. If you've found this package useful, please consider sponsoring this project. It will go a long way to help with maintenance.
