PHPackages                             jemgdevp/laravel-domo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. jemgdevp/laravel-domo

ActiveLibrary[Database &amp; ORM](/categories/database)

jemgdevp/laravel-domo
=====================

AI-powered database orchestrator for Laravel. Web Dashboard, TUI, and MCP server for Eloquent architecture and migration management.

v1.0.5(1w ago)17MITPHPPHP ^8.2CI passing

Since May 2Pushed 1w agoCompare

[ Source](https://github.com/jemgdevp/laravel-domo)[ Packagist](https://packagist.org/packages/jemgdevp/laravel-domo)[ Docs](https://github.com/jemgdevp/laravel-domo)[ RSS](/packages/jemgdevp-laravel-domo/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (9)Dependencies (23)Versions (8)Used By (0)

Laravel Domo
============

[](#laravel-domo)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4849baa156ebdf761da3d9c3e69deb1236956ef2eb1b2930b54f3f9e9b674801/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a656d67646576702f6c61726176656c2d646f6d6f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jemgdevp/laravel-domo)[![Total Downloads](https://camo.githubusercontent.com/94ccd221c94f8ba6b45549a2ac67b1cbb08df6434ee0e5378197ff77931ed57e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a656d67646576702f6c61726176656c2d646f6d6f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jemgdevp/laravel-domo)[![GitHub Tests Action Status](https://camo.githubusercontent.com/6305578fe789fa3d73f1f02f45e82fcbf781da17a1421995fe5f13c27cfb4ccf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a656d67646576702f6c61726176656c2d646f6d6f2f74657374732e796d6c3f6272616e63683d646576656c6f70266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/jemgdevp/laravel-domo/actions)[![PHPStan](https://camo.githubusercontent.com/c7d4c25ec55f9e858a5e02f27902f10222db2768c0d4cb052a2327ea85701b35/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230352d626c75653f7374796c653d666c61742d737175617265)](https://phpstan.org/)[![Laravel](https://camo.githubusercontent.com/56d39b6a6f579828a0ee532e60306aa6a379e72a19a8b3a31eed2f276dce298b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31312532422d4646324432303f7374796c653d666c61742d737175617265266c6f676f3d6c61726176656c)](https://laravel.com)

🚀 Overview
----------

[](#-overview)

**Laravel Domo** is an all-in-one database engineering suite for Laravel (v11+). It bridges the gap between raw SQL, Eloquent models, and AI-driven architecture.

### ✨ Features

[](#-features)

- **🌐 Web Dashboard** - Rich visual interface, auto-mounted at `/domo` in your local environment
- **💻 Terminal UI** - Powerful TUI for command-line workflow (`domo:tui`)
- **🤖 AI Architect** - AI-powered Eloquent ORM analysis and suggestions
- **🔌 MCP Integration** - Model Context Protocol for AI agent connectivity
- **📊 Schema Analyzer** - Intelligent database schema inspection
- **🔄 Migration Management** - Visual migration generation and preview
- **📦 Portability** - Import/Export SQL dumps and migrations

📦 Installation
--------------

[](#-installation)

Install the package via Composer:

```
composer require --dev jemgdevp/laravel-domo
```

### Configuration

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --tag=domo-config
```

### Environment Setup

[](#environment-setup)

Add your API keys to `.env`:

```
# AI Driver Configuration — default provider is "opencode"
DOMO_AI_DRIVER=opencode
DOMO_OPENCODE_API_KEY=your-api-key
DOMO_OPENCODE_BASE_URL=https://opencode.ai/zen/go/v1/
DOMO_OPENCODE_MODEL=deepseek-v4-pro

# Or use OpenAI
# DOMO_AI_DRIVER=openai
# OPENAI_API_KEY=your-api-key

# Or use Anthropic
# DOMO_AI_DRIVER=anthropic
# ANTHROPIC_API_KEY=your-api-key

# MCP Server
DOMO_MCP_ENABLED=true
DOMO_MCP_PORT=3000

# Dashboard
DOMO_DASHBOARD_ENABLED=true
DOMO_DASHBOARD_PORT=8080
```

🎯 Usage
-------

[](#-usage)

### Web Dashboard

[](#web-dashboard)

The dashboard mounts itself automatically — **no command required**. In your **local** environment, just visit the `domo` route on your running app:

```
http://localhost:8000/domo      # or whatever host/port your app uses

```

It is a local development tool: like Telescope, its routes are only registered in the environments listed under `dashboard.environments` (default: `['local']`), so it is **never exposed in production**.

**Optional — dedicated server.** To run the dashboard on its own port without booting your whole app, the bundled command still works:

```
php artisan domo:serve --open
php artisan domo:serve --host=0.0.0.0 --port=3000 --open
```

### Terminal UI

[](#terminal-ui)

Launch the TUI:

```
php artisan domo:tui
```

**Options:**

```
php artisan domo:tui --no-colors --simple
```

Note: the rich TUI is supported on Linux/macOS terminals. Windows is not supported by the current PHP-TUI backend.

### MCP Server

[](#mcp-server)

Enable MCP server for AI agent integration:

```
DOMO_MCP_ENABLED=true
DOMO_MCP_PORT=3000
DOMO_MCP_HOST=127.0.0.1
```

### AI Configuration

[](#ai-configuration)

The default provider is **`opencode`** (an OpenAI-compatible endpoint). You can switch the global default with `DOMO_AI_DRIVER`, or pick the provider/model **per analysis** from the dashboard's AI page.

```
# Default: opencode (OpenAI-compatible)
DOMO_AI_DRIVER=opencode
DOMO_OPENCODE_API_KEY=your-api-key
DOMO_OPENCODE_BASE_URL=https://opencode.ai/zen/go/v1/
DOMO_OPENCODE_MODEL=deepseek-v4-pro

# Or OpenAI
# DOMO_AI_DRIVER=openai
# OPENAI_API_KEY=your-api-key

# Or Anthropic
# DOMO_AI_DRIVER=anthropic
# ANTHROPIC_API_KEY=your-api-key
```

> Any OpenAI-compatible service (Groq, OpenRouter, Ollama, DeepSeek, ...) works: add a provider in `config/domo.php` with a `base_url` and select it from the AI analysis page.

### Available Commands

[](#available-commands)

CommandDescription`php artisan domo:serve`Run the dashboard on a dedicated server (optional; it auto-mounts at `/domo` in local)`php artisan domo:tui`Launch terminal UI`php artisan vendor:publish --tag=domo-config`Publish config### Configuration

[](#configuration-1)

Edit `config/domo.php`:

```
return [
    'ai_driver' => 'opencode', // openai | anthropic | opencode | your own

    'mcp' => [
        'enabled' => true,
        'port' => 3000,
        'host' => '127.0.0.1',
    ],

    'dashboard' => [
        'enabled' => true,
        'environments' => ['local'], // environments where the dashboard auto-registers
        'route' => 'domo',
        'host' => '127.0.0.1',
        'port' => 8080,
        'middleware' => ['web'],
    ],

    'tui' => [
        'enabled' => true,
        'theme' => 'default',
        'colors' => true,
    ],

    'database' => [
        'connection' => config('database.default'),
        'tables' => [
            'exclude' => 'migrations,failed_jobs',
        ],
    ],
];
```

📚 Documentation
---------------

[](#-documentation)

Full documentation is available at

### Additional Resources

[](#additional-resources)

- [Quick Start Guide](QUICKSTART.md)
- [Project Structure](STRUCTURE.md)
- [Contributing Guide](CONTRIBUTING.md)
- [Security Policy](SECURITY.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)

🧪 Testing
---------

[](#-testing)

```
composer test
```

🛡️ Security
-----------

[](#️-security)

If you discover any security related issues, please email  instead of using the issue tracker.

📊 Requirements
--------------

[](#-requirements)

- PHP 8.2+
- Laravel 11.x or 12.x
- Database: MySQL, PostgreSQL, SQLite, or SQL Server

❓ FAQ
-----

[](#-faq)

**Q: Is this package production-ready?**
A: Laravel Domo is designed for development environments. Install as dev dependency: `composer require --dev jemgdevp/laravel-domo`

**Q: Which AI providers are supported?**
A: OpenAI, Anthropic, and **opencode** (the default) out of the box, plus any OpenAI-compatible service (Groq, OpenRouter, Ollama, DeepSeek, ...) you add under `providers` in `config/domo.php`. You can also choose the provider and model **per analysis** from the dashboard's AI page.

**Q: Can I use this with SQLite?**
A: Yes! Laravel Domo supports MySQL, PostgreSQL, SQLite, and SQL Server.

**Q: How do I customize the dashboard route?**
A: Edit `config/domo.php` and change the `dashboard.route` value.

🤝 Contributing
--------------

[](#-contributing)

See our [Contributing Guide](CONTRIBUTING.md) for details.

📄 License
---------

[](#-license)

Laravel Domo is open-sourced software licensed under the [MIT license](LICENSE.md).

🙏 Acknowledgments
-----------------

[](#-acknowledgments)

- [Laravel](https://laravel.com) - The PHP Framework for Web Artisans
- [TestBench](https://github.com/orchestral/testbench) - Laravel testing helper
- [Anthropic](https://anthropic.com) - AI provider
- [OpenAI](https://openai.com) - AI provider

**Made with ❤️ by [jemgdevp](https://github.com/jemgdevp)**

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance98

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

6

Last Release

9d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab9b189c90c729336197de010203582b443a82ef2b4de7ca6f96f7c59eaeff07?d=identicon)[jemgdevp](/maintainers/jemgdevp)

---

Top Contributors

[![jemgdevp](https://avatars.githubusercontent.com/u/89946683?v=4)](https://github.com/jemgdevp "jemgdevp (55 commits)")

---

Tags

composerdatabaselaravellaravelmcpdatabaseaiormeloquentdevelopmentarchitecturetui

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jemgdevp-laravel-domo/health.svg)

```
[![Health](https://phpackages.com/badges/jemgdevp-laravel-domo/health.svg)](https://phpackages.com/packages/jemgdevp-laravel-domo)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

9782.1M153](/packages/laravel-ai)[spatie/laravel-health

Monitor the health of a Laravel application

88011.3M149](/packages/spatie-laravel-health)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.0M84](/packages/mongodb-laravel-mongodb)[itpathsolutions/dbstan

Database Standardization and Analysis Tool for Laravel

442.1k](/packages/itpathsolutions-dbstan)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3359.7k2](/packages/toponepercent-baum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
