Download the PHP package lucapellegrino/dbmyadmin without Composer

On this page you can find all versions of the php package lucapellegrino/dbmyadmin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dbmyadmin

DbMyAdmin

Latest Version on Packagist PHP Laravel Filament

A phpMyAdmin-like database management interface for Filament 5. Browse tables, execute SQL queries, manage records, and modify table structure — directly inside your Filament admin panel.

Supported databases: MySQL / MariaDB · PostgreSQL · SQLite


Installation

1. Install via Composer

2. Publish and run migrations

This creates the dbmyadmin_saved_queries table used to persist your saved SQL queries.

3. Register the plugin in your Panel Provider

Open app/Providers/Filament/AdminPanelProvider.php and add the plugin:

4. (Optional) Publish the config

This creates config/dbmyadmin.php where you can customize the plugin behavior.


Configuration

All options live in config/dbmyadmin.php:

Extensibility (drivers and connection)

Two config keys exist purely as extension points for third-party add-ons and aren't meant to be edited by hand in a normal installation:

Excluding additional tables

Add table names to excluded_tables to hide them from the interface:

Customizing blocked statements

By default, the SQL Runner blocks dangerous statements. You can customize this list:


Authorization

Default behavior

By default, access to DbMyAdmin is controlled by whoever has access to your Filament panel. No extra configuration is needed.

Filament Shield integration

DbMyAdmin is fully compatible with Filament Shield. Once Shield is installed, it automatically generates the following permissions for the plugin:

Permission Controls
view_any_database_table Access the table list
create_database_table Create new tables
update_database_table Alter existing tables
delete_database_table Truncate / drop tables

Assign these permissions to roles via Shield's interface as you would for any other resource.

Custom authorization gate

You can restrict the entire plugin to specific users via a closure:

This gate is evaluated before Shield permissions. If it returns false, the user cannot access any part of the plugin regardless of their Shield permissions.

Navigation customization


Features

Table List

The main page shows all tables in your database with:

Available actions per table:

Bulk actions:

Header actions:

Tables listed in excluded_tables in the config are not shown.


Browse Table Records

Browse, search, create, edit, and delete records in any table.

The interface adapts to the actual columns of each table — no configuration required.


SQL Runner

A full-featured SQL editor with:

Editor:

Execution:

Schema Browser (sidebar):

Saved Queries:

The SQL Runner only executes queries — it does not modify table structure. Use the Create Table or Alter Table pages for DDL operations.


Create Table

A visual wizard for creating new database tables.

Table options:

Columns:

Foreign Keys:

DDL Preview:


Alter Table

Modify the structure of an existing table.

Modify existing columns:

Add new columns:

DDL Preview:

Apply:

SQLite has limited ALTER TABLE support. Depending on the SQLite version, some operations (e.g. DROP COLUMN) may be unavailable. Unsupported operations are hidden automatically.


Logging

When logging is enabled in config (default: true), all operations are written to your Laravel log:

Each log entry includes the authenticated user's email and the operation performed.


Upgrading

From Filament 3.3 (app-level code)

If you were using an older version of this code directly in your app (before it became a package), follow these steps:

  1. Remove the old files from your app:

    • app/Models/DatabaseTable.php
    • app/Models/SavedQuery.php
    • app/Filament/Resources/DatabaseTableResource.php
    • app/Filament/Resources/DatabaseTableResource/Pages/*
    • Blade views in resources/views/filament/pages/
    • The old migration for saved_queries
  2. Install the package: composer require lucapellegrino/dbmyadmin

  3. Publish and run migrations (the table is renamed to dbmyadmin_saved_queries — migrate your existing data manually if needed)

  4. Register the plugin in your Panel Provider

Troubleshooting

The plugin does not appear in the navigation

Tables are not showing up

SQL Runner blocks my query

SQLite: Alter Table options are missing

Foreign keys not detected in Browse Records


License

MIT License. See LICENSE.


All versions of dbmyadmin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^5.0
laravel/framework Version ^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lucapellegrino/dbmyadmin contains the following files

Loading the files please wait ...