PHPackages                             krafjp/dd - 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. krafjp/dd

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

krafjp/dd
=========

MySQL/MariaDB database definition document generator for laravel.

v1.0.2(1y ago)12.6k↓33.3%1MITPHPPHP ^7.4|^8.1

Since Jun 14Pushed 1y agoCompare

[ Source](https://github.com/KRAF-JP/dd)[ Packagist](https://packagist.org/packages/krafjp/dd)[ RSS](/packages/krafjp-dd/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (16)Used By (0)

krafjp/dd
=========

[](#krafjpdd)

Installation
------------

[](#installation)

Database definition tool provided by kraf is located in the krafjp/dd Composer package, which may be installed using Composer:

```
composer require krafjp/dd
```

Export html(blade) template
---------------------------

[](#export-htmlblade-template)

```
php artisan db:dd [--force]
```

publish database definition document
------------------------------------

[](#publish-database-definition-document)

```
php artisan db:dd-gen
```

Generate Database Definition Document Command.

### Usage:

[](#usage)

```
db:dd-gen [options] [--] []

```

### Arguments:

[](#arguments)

- conn db connection null by default

### Options:

[](#options)

- -m, --output-md output format markdown.(default html)

Samples
-------

[](#samples)

- [laravel 8 default database schema generated at html by dd.](samples/database-definition.html)
- [laravel 8 default database schema generated at markdown by dd.](samples/database-definition.md)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~61 days

Recently: every ~113 days

Total

15

Last Release

574d ago

Major Versions

0.0.12-alpha → v1.0.02023-12-27

PHP version history (2 changes)0.0.10-alphaPHP ^7.4|^8.0

0.0.11-alphaPHP ^7.4|^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb53607d9930821b24a1856abc7103cc4a98d504629859c6f027ccc29c2d83e2?d=identicon)[oda.kraf](/maintainers/oda.kraf)

---

Top Contributors

[![oda-KRAF](https://avatars.githubusercontent.com/u/40376937?v=4)](https://github.com/oda-KRAF "oda-KRAF (20 commits)")[![kawaguchi-toshikazu](https://avatars.githubusercontent.com/u/42014749?v=4)](https://github.com/kawaguchi-toshikazu "kawaguchi-toshikazu (5 commits)")[![developer-KRAF](https://avatars.githubusercontent.com/u/103493492?v=4)](https://github.com/developer-KRAF "developer-KRAF (2 commits)")[![kobayashi-KRAF](https://avatars.githubusercontent.com/u/58139672?v=4)](https://github.com/kobayashi-KRAF "kobayashi-KRAF (1 commits)")

### Embed Badge

![Health badge](/badges/krafjp-dd/health.svg)

```
[![Health](https://phpackages.com/badges/krafjp-dd/health.svg)](https://phpackages.com/packages/krafjp-dd)
```

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[toponepercent/baum

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

3154.7k](/packages/toponepercent-baum)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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