PHPackages                             ad5jp/schema-writer - 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. ad5jp/schema-writer

ActiveLibrary

ad5jp/schema-writer
===================

Export table definitions as Excel

1.0.3(7mo ago)07MITPHPPHP &gt;=8.0

Since Oct 4Pushed 7mo agoCompare

[ Source](https://github.com/ad5jp/schema-documentater)[ Packagist](https://packagist.org/packages/ad5jp/schema-writer)[ RSS](/packages/ad5jp-schema-writer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Schema Writer
=============

[](#schema-writer)

データベースの実スキーマを元に、テーブル定義書を Excel 等のファイルとして出力します。

現在は

- データベース・・・MySQL
- 出力先・・・日本語 Excel ファイル

のみに対応しています。

使い方
---

[](#使い方)

### プロジェクトに追加して使う場合

[](#プロジェクトに追加して使う場合)

composer でインストールします。

```
composer require --dev ad5jp/schema-writer

```

プロジェクトディレクトリでコマンドを実行します。

```
./vendor/bin/documentate

```

### 単独で使用する場合

[](#単独で使用する場合)

Github よりリポジトリをフォークした後、本リポジトリのディレクトリに入り、実行します。

```
php documentate

```

オプション
-----

[](#オプション)

以下のようにオプション付で実行することができます。

```
./vendor/bin/documentate --host=localhost:3306 --schema=test --user=root

```

必要なオプションを省略した場合は、対話的に実行されます。

オプション説明driverデータベースの種類。省略時は mysqlformat出力フォーマット。省略時は excel\_jphostデータベースのホスト名schemaデータベース名userデータベースのユーザ名passwordデータベースユーザのパスワードtemplateExcel ファイルの雛形のパス。format が excel\_\* の場合に指定可能output\_dirExcel ファイルを出力するディレクトリ。format が excel\_\* の場合に指定可能output\_filename出力する Excel ファイルのファイル名。format が excel\_\* の場合に指定可能

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance68

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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 ~0 days

Total

4

Last Release

216d ago

PHP version history (2 changes)1.0.0PHP ^8.0

1.0.1PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![ad5jp](https://avatars.githubusercontent.com/u/78670804?v=4)](https://github.com/ad5jp "ad5jp (8 commits)")

### Embed Badge

![Health badge](/badges/ad5jp-schema-writer/health.svg)

```
[![Health](https://phpackages.com/badges/ad5jp-schema-writer/health.svg)](https://phpackages.com/packages/ad5jp-schema-writer)
```

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M709](/packages/maatwebsite-excel)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[in2code/powermail

Powermail is a well-known, editor-friendly, powerful and easy to use mailform extension for TYPO3 with a lots of features

982.5M38](/packages/in2code-powermail)

PHPackages © 2026

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