database_browser
Introduction
Database Browser is a Drupal administration module that allows developers and site administrators to inspect database tables directly from the Drupal UI.
The module provides a secure browser for viewing database tables, table sizes, column structures, and paginated table data without requiring direct access to external database tools such as phpMyAdmin.
It is especially useful for Drupal developers, backend engineers, and site administrators who need quick visibility into Drupal database contents during development, debugging, auditing, or learning Drupal's database architecture.
Summary (200 characters):
View and inspect Drupal database tables directly from the admin UI with pagination, filtering, sorting, and table size information.
Features
- Lists all database tables available in the active Drupal database.
- Displays database metadata such as:
- Database name
- Database driver
- Total table count
- Total database size
- Displays individual table sizes.
- Allows viewing table records directly from the Drupal UI.
- Supports:
- Pagination
- Column sorting
- Search filtering
- Configurable rows per page
- Uses Drupal Database Abstraction Layer (DBAL) for safer cross-database compatibility.
- Supports MySQL and PostgreSQL drivers.
- Prevents invalid sorting and pagination parameters.
- Truncates extremely long text values for better UI readability.
Typical use cases:
- Inspecting Drupal tables during development.
- Learning Drupal database structure.
- Debugging module data.
- Reviewing stored entity data quickly.
- Educational/demo purposes.
Post-Installation
Enable the module:
drush en database_browser -y drush cr
After installation, visit:
/admin/reports/database-browser
From there:
- View all database tables.
- Open any table to inspect rows.
- Sort by columns.
- Filter records using search.
- Change pagination limits.
No additional configuration is required.
Additional Requirements
- Drupal 10 or Drupal 11
- No external libraries required
- No additional contributed modules required
Recommended modules/libraries
No additional libraries are required.
Recommended development modules:
- Devel
- Webprofiler
- Admin Toolbar
Similar projects
Unlike external database management tools such as phpMyAdmin, Database Browser integrates directly into the Drupal administration UI and uses Drupal's Database API for safer database interaction.
The module is intended primarily for lightweight inspection and debugging inside Drupal rather than full database administration.
Supporting this Module
Issues, feature requests, and contributions are welcome through the Drupal.org issue queue.
Community Documentation
Documentation and usage examples can be added here later, including:
- YouTube walkthroughs
- DrupalPod demo links
- Tutorial articles
- Developer documentation