mikibuilder / llm-vcr
Semantic record & replay for AI features in PHP. Record real LLM responses, replay them in CI with no network and no API key, and detect when your provider silently changes the model.
v0.3.1
2026-07-29 07:34 UTC
Requires
- php: >=8.2
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.5
- symfony/config: ^7.4
- symfony/console: ^7.4
- symfony/dependency-injection: ^7.4
- symfony/framework-bundle: ^7.4
- symfony/http-kernel: ^7.4
- symfony/twig-bundle: ^7.4
- symfony/web-profiler-bundle: ^7.4
Suggests
- ext-curl: To use GroqPlatform and other real HTTP clients (otherwise the stream transport is used)
- pestphp/pest: For the toBeLlmJson(), toMatchLlmShape() and toHaveMadeNoLiveCalls() expectations
- symfony/framework-bundle: To use LlmVcrBundle: declarative configuration and Web Profiler panel