humxmad/laramyadmin

A modern, beautiful, multi-database management package for Laravel (phpMyAdmin / TablePlus alternative).

Maintainers

Package info

github.com/humxmad/laramyadmin

pkg:composer/humxmad/laramyadmin

Transparency log

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.2 2026-08-25 21:20 UTC

This package is auto-updated.

Last update: 2026-08-25 21:31:07 UTC


README

LaraMyAdmin Studio Pro Live Screenshot

LaraMyAdmin ⚑ (Laravel Multi-Database Studio Pro)

A modern, powerful, and developer-friendly database management package for Laravel (a state-of-the-art alternative to phpMyAdmin, TablePlus, and Adminer).

Manage all your connected databases (MySQL, PostgreSQL, SQLite, SQL Server), dynamically connect to external databases, browse & edit data, design schemas, execute raw SQL queries, export code to Laravel migrations/models, generate mock data, search globally, and compare schemas right from a sleek, dark-mode web studio.

✨ Features

  • 🌐 Multi-Database Connections:

    • Auto-discovers all connections configured in Laravel (config/database.php).
    • Dynamic on-the-fly connections (MySQL, PostgreSQL, SQLite, SQL Server) with connection testing & ping.
    • One-click connection switcher in the header.
  • πŸš€ Laravel-Specific Superpowers:

    • Export to Migration: 1-click generation of Laravel migration files (create_xyz_table.php).
    • Export to Eloquent Model: Generates PHP Eloquent Models with $fillable, $casts, and foreign key relationship methods (hasMany, belongsTo).
    • Export to Model Factory: Generates Laravel Model Factory definitions with Faker.
  • ⚑ Spreadsheet-Style Inline Cell Editing:

    • Double-click any cell in the data grid to edit the value directly in-place and press Enter to commit.
  • πŸ” Global Database Search:

    • Search any keyword across all tables in the database at once.
  • πŸ€– Mock Data Generator:

    • 1-click seeding of 10, 25, 50, or 100 realistic dummy records matching table columns and types.
  • πŸ—ΊοΈ Visual Schema & ER Diagram:

    • Interactive diagram displaying tables, columns, row metrics, and relationship links.
  • βš–οΈ Schema Diff & Database Comparison:

    • Compare two connected databases (e.g. local vs staging) to detect missing tables and mismatched column types.
  • πŸ’» SQL Query Console & Bookmarks:

    • Syntax-highlighted CodeMirror SQL editor with Ctrl + Enter execution.
    • Execution timer (ms) and affected rows counter.
    • EXPLAIN query performance analyzer.
    • Save favorite queries as Bookmarks with custom labels.
  • πŸ“¦ Export & Import:

    • Export tables to SQL Dump, CSV, or JSON.
    • Import SQL dump files or raw SQL statements.
  • πŸ”’ Security & Permissions:

    • Read-only mode protection.
    • Custom authorization callback (LaraMyAdmin::auth(...)).

πŸš€ Installation

Install LaraMyAdmin via Composer:

composer require humxmad/laramyadmin

Publish configuration (optional):

php artisan vendor:publish --tag=laramyadmin-config

Access LaraMyAdmin in your browser:

http://your-app.test/laramyadmin

πŸ” Authorization Gate (Production Protection)

use LaraMyAdmin\LaraMyAdmin;

public function boot(): void
{
    LaraMyAdmin::auth(function ($request) {
        return $request->user() && $request->user()->is_admin;
    });
}

πŸ§ͺ Testing

composer test

πŸ“„ License

The MIT License (MIT). Please see License File for more information.