Download the PHP package lotse/steg-bundle without Composer
On this page you can find all versions of the php package lotse/steg-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package steg-bundle
steg-bundle
Symfony Bundle for Steg — auto-configuration, profiler panel, and DI integration.
Requirements
- PHP 8.2+
- Symfony 7.0+ or 8.0+
- lotse/steg ^1.0.1 (v1.0.0 has an incompatible
StegClientand is not supported)
Installation
Symfony Flex will register the bundle automatically. Without Flex, add it manually:
Configuration
Create config/packages/steg.yaml:
DSN format
| Scheme | Example |
|---|---|
vllm:// |
vllm://gpu-server:8000/v1?model=llama-3.3-70b-awq |
ollama:// |
ollama://localhost:11434?model=qwen2.5:7b |
mock:// |
mock://default |
Alternative: explicit base_url
Usage
Autowiring (default connection)
Named connections via #[Autowire]
Available service IDs
| Service ID | Description |
|---|---|
steg.client.{name} |
Named connection client |
steg.client |
Alias for the default connection |
Steg\Client\InferenceClientInterface |
Alias for the default connection |
Symfony Profiler
When StegDataCollector is wired, the Symfony Profiler shows a Steg panel with:
- Request count and total duration
- Prompt and completion token usage
- Per-request timeline (connection, model, duration, tokens, response preview)
To enable profiling, decorate your client services with ProfilingClient in the DI configuration.
License
EUPL-1.2 — see LICENSE.
Built by 👾 public sector dev crew
Notice
This repository was developed with the assistance of AI code agents (Claude Code, Anthropic). The code was created as part of a development sprint and is not cleared for production use without prior review. Use at your own risk.
License: European Union Public Licence v. 1.2 (EUPL-1.2) — Copyright © 2026 Andreas Teumer
All versions of steg-bundle with dependencies
lotse/steg Version ^1.0.1
symfony/config Version ^7.0|^8.0
symfony/dependency-injection Version ^7.0|^8.0
symfony/framework-bundle Version ^7.0|^8.0