knobik/laravel-sql-agent
A Laravel package that adds an AI SQL agent to your app: ask questions in natural language and get safe, read-only database queries, with schema awareness, configurable guardrails, and support for multiple LLM providers. Useful for admin dashboards and internal tools.
knobik/sql-agent appears to provide a Laravel-native layer for exposing controlled SQL access to an agent/LLM workflow. The 0.9.1 fix is security-relevant: it stops restricted tables from leaking through references on permitted tables. For a TPM, this means table allowlisting must be treated as a security boundary, not merely a query-scoping convenience.^0.9.1 or later and avoid 0.9.0 for production use. Install in staging, publish/configure the package, inventory sensitive tables, define the permitted-table allowlist, and test cross-table reference scenarios before piloting.0.9.1+; 3) schema and sensitive-data inventory; 4) allowlist configuration; 5) regression tests for joins/references/views; 6) auth, logging, and rate-limit integration; 7) internal pilot; 8) production rollout with monitoring.How can I help you explore Laravel packages today?