[NFR]: Debug bar support for ADR / non-MVC apps
Los mantenedores suelen responder en 3 días
@niden ya está trabajando en esto.
Desde el 22/7/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Context: phalcon/debugbar can only be booted and injected against a Phalcon\Mvc\Application, and its collectors gather data by subscribing to MVC event names. That makes the bar unusable in an ADR app (Phalcon\ADR), which was discovered while wiring phalcon/vokuro-adr (the bar is a dependency there but entirely unused). The goal is to make the bar work on ADR - and, by construction, on any framework - without forcing Phalcon\Di\DiInterface back into the ADR delivery ring. Motivation: ADR is a strong pattern for HTML apps, not only JSON, and the debug bar should not be MVC-only.
Events-manager strategy #15
The root coupling is that collectors know framework event names. Break it with three layers:
- A canonical debug-bar signal set the bar owns — a small, stable vocabulary (
query,view.rendered,route.matched,request.received,response.sending). Collectors subscribe only to these. - A per-framework bridge that maps native signals to canonical ones — MVC listens to
db:afterQuery/view:*/router:matchedRoute; ADR listens toPIPELINE_*/APPLICATION_*or instruments directly. - A direct push API on collectors for hosts with no events manager — the bridge pushes.
The events manager then becomes an implementation detail of the active bridge, not a hard dependency of the collectors.
- Lenguaje dominante
- PHP
- Estrellas
- 6
- Forks
- 3
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 3
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de phalcon/debugbar
-
[NFR]: History Panel enhancementsPosiblemente ocupada @niden la tomó hace 15 días. Abiertoenhancement
phalcon/debugbar#32 · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
[NFR]: Collector source adapters for ADR data sources (DB / View / Route)Quizá libre de nuevo @niden la tomó hace 80 días y no hay ningún pull request abierto. Abiertoenhancement
phalcon/debugbar#16 · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
[NFR]: Decouple collectors from framework event names (bridge + canonical signals)Quizá libre de nuevo @niden la tomó hace 80 días y no hay ningún pull request abierto. Abiertoenhancement
phalcon/debugbar#15 · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
[NFR]: Framework-neutral integration seam: boot and response injection without Mvc\ApplicationQuizá libre de nuevo @niden la tomó hace 80 días y no hay ningún pull request abierto. Abiertoenhancement
phalcon/debugbar#14 · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
[NFR]: Services panel for DebugBarQuizá libre de nuevo @niden la tomó hace 90 días y no hay ningún pull request abierto. Abiertoenhancement
phalcon/debugbar#5 · 1 asignado ·
Los mantenedores suelen responder en 3 días
Todos los issues de phalcon/debugbar
Issues similares
-
sync-en
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
sync-en
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 4 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
ProfessionalWiki/NeoWiki#1637 ·
Los mantenedores suelen responder en 1 día
-
Перевод устарел
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
bug
Dificultad 2/5 Medio día Aptitud para principiantes 76/100
m3ue/m3u-editor#1604 ·
Los mantenedores suelen responder en 1 día