hkdevs/codeforge-database-studio

Comprehensive database management and code generation suite for FilamentPHP panels.

Maintainers

Package info

github.com/hardikkanajariya-in/codeforge

Homepage

pkg:composer/hkdevs/codeforge-database-studio

Transparency log

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1 2026-08-19 08:46 UTC

This package is auto-updated.

Last update: 2026-08-19 08:47:50 UTC


README

Latest Version on Packagist MIT License Laravel Filament

Open source Filament panel plugin for database management, schema design, migration tracking, health monitoring, smart seeding, documentation export, and code generation.

Maintainer: Hardik Kanajariya · Docs: GitHub Pages · Issues: GitHub

Features

  • Database overview — stats, quick actions, connection health
  • Visual schema designer — tables, relationships, ERD-style views
  • Migration management — history, batch migrate, rollback safety
  • Health monitoring — slow queries, metrics, performance charts
  • Smart seeding — templates, relationship-aware bulk data
  • Documentation generator — Markdown, HTML, PDF, and schema snapshots
  • Code generation — migrations, models, factories, seeders, Filament resources

Requirements

Dependency Version
PHP 8.3+
Laravel 12.x, 13.x
Filament 4.x, 5.x

Installation

composer require hkdevs/codeforge-database-studio

php artisan vendor:publish --tag=codeforge-database-studio-config
php artisan vendor:publish --tag=codeforge-database-studio-migrations
php artisan migrate
php artisan codeforge:install

Register in your Filament panel provider:

use Filament\Panel;
use HkDevs\CodeForgeStudio\CodeForgeStudioPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            CodeForgeStudioPlugin::make()
                ->enableSchemaDesigner()
                ->enableMigrationManager()
                ->enableHealthMonitoring()
                ->enableSmartSeeding()
                ->enableDocumentationGenerator()
                ->enableCodeGeneration(),
        ]);
}

Custom theme (Filament v4/v5)

Add to your panel theme CSS:

@source '../../../../vendor/hkdevs/codeforge-database-studio/resources/**/*.blade.php';

Local development

{
    "repositories": [
        { "type": "path", "url": "../codeforge" }
    ],
    "require": {
        "hkdevs/codeforge-database-studio": "@dev"
    }
}

Configuration

Published to config/codeforge-database-studio.php. Enable Filament pages via the plugin (not features.* in config):

CodeForgeStudioPlugin::make()
    ->enableSchemaDesigner()
    ->enableMigrationManager()
    ->enableHealthMonitoring()
    ->enableSmartSeeding()
    ->enableDocumentationGenerator()
    ->enableCodeGeneration()
    ->enableDevDocs(); // optional in-app docs at /codeforge/docs

Config features.* only controls Database Overview quick-action cards. Query logging uses enable_query_logging and query_logging.*.

Testing

composer test

Releasing

Push a semver tag (e.g. v1.0.1) to trigger the Release workflow. See RELEASING.md for the full checklist.

Contributing

See CONTRIBUTING.md. Security reports: SECURITY.md.

License

MIT — see LICENSE. Copyright (c) Hardik Kanajariya.