Just shipped a small side project:
Lens it is a simple SQL query logger for Laminas MVC.
What it does:
- Logs every DB query in your app (with timing, bindings, stack trace, etc.)
- Clean UI at
/lens
to browse and search - No fancy setup — just install & go
Things to keep in mind, it is still in development stage.
- Only tested on Laminas MVC ^3.7 + PDO_MySQL
- Haven’t tested with PostgreSQL or other DBs yet
- Use in dev only
Yeah, I know Laminas MVC is being sunset but this was mainly for short term use in existing projects.
Thank you!