laranail/db-console
A database console for Laravel: browse tables, run ad-hoc SQL, and inspect results in a lightweight Artisan-served UI. Configurable connection allowlists, read-only mode, and query guards keep production data safe, while Composer install and a published config get you running in minutes.
sudo or shared containers).| Risk Area | Severity | Mitigation |
|---|---|---|
| Undocumented edge cases | High | Start with controlled sandbox (e.g., staging environment) and feature flags. |
| Multi-server consistency | Medium | Validate with eventual consistency tests (e.g., simulate network partitions). |
| Performance overhead | Medium | Benchmark query parsing and API latency under load. |
| Laravel version lock | Low | Check compatibility with Laravel 11+ (if future-proofing is needed). |
| CLI security | High | Restrict CLI access via Laravel Gates/Policies or SSH keys. |
db-console instances)?db-console.db-console CLI/API calls.DbConsoleGuard::authorize()).db-console CLI in CI/CD (e.g., GitHub Actions).GRANT statements with API-driven privilege management.GRANT/REVOKE with db-console CLI.db-console API.public function handle(Request $request, Closure $next) {
if (DbConsole::userCanAccess($request->tenant, $request->route()->getName())) {
return $next($request);
}
abort(403);
}
db-console policies.db-console:reset-permissions).db-console internals.db-console CLI/API for DB management.db-console supports connection routing.How can I help you explore Laravel packages today?