PHPackages                             clive0417/d-b-diagram-regular-parse - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. clive0417/d-b-diagram-regular-parse

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

clive0417/d-b-diagram-regular-parse
===================================

A d b diagram regular parse

v1.0.5(3y ago)05MITPHPPHP &gt;=7.2

Since Nov 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/clive0417/d-b-diagram-regular-parse)[ Packagist](https://packagist.org/packages/clive0417/d-b-diagram-regular-parse)[ RSS](/packages/clive0417-d-b-diagram-regular-parse/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (8)Used By (0)

D B Diagram Regular Parse
=========================

[](#d-b-diagram-regular-parse)

[![GitHub Workflow Status](https://github.com/clive0417/d-b-diagram-regular-parse/workflows/Run%20tests/badge.svg)](https://github.com/clive0417/d-b-diagram-regular-parse/actions)[![styleci](https://camo.githubusercontent.com/4499ec3a0efa386c7581f730bb44592bf518dc156779fc92c663dd51908cfb92/68747470733a2f2f7374796c6563692e696f2f7265706f732f4348414e47454d452f736869656c64)](https://styleci.io/repos/CHANGEME)

[![Packagist](https://camo.githubusercontent.com/f4cac369debcc759ee90722508738594399e502899b586ceb824d3adf4878df6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c697665303431372f642d622d6469616772616d2d726567756c61722d70617273652e737667)](https://packagist.org/packages/clive0417/d-b-diagram-regular-parse)[![Packagist](https://camo.githubusercontent.com/6379783aee1cd4a59607b0b07f3244edb31915be0726bcf02685dad244c9cbfa/68747470733a2f2f706f7365722e707567782e6f72672f636c697665303431372f642d622d6469616772616d2d726567756c61722d70617273652f642f746f74616c2e737667)](https://packagist.org/packages/clive0417/d-b-diagram-regular-parse)[![Packagist](https://camo.githubusercontent.com/b6020ccf3bac80bbed51cb3b70c39f79a2884cdc83f1823a4f23bd5c2e8ccf72/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636c697665303431372f642d622d6469616772616d2d726567756c61722d70617273652e737667)](https://packagist.org/packages/clive0417/d-b-diagram-regular-parse)

Package description: CHANGE ME

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

[](#installation)

Install via composer

```
composer require clive0417/d-b-diagram-regular-parse
```

### Publish package assets

[](#publish-package-assets)

```
php artisan vendor:publish --provider="Clive0417\DBDiagramRegularParse\ServiceProvider"
```

Usage
-----

[](#usage)

### 使用方法請參考影片

[](#使用方法請參考影片)

### step1 安裝套件

[](#step1-安裝套件)

```
composer require clive0417/d-b-diagram-regular-parse
```

### step2 複製 DB Diagram 並存檔

[](#step2-複製-db-diagram-並存檔)

```
//商家
table merchants [headercolor: #16a085]
{
  id                            bigint(20)          [pk, increment, note: '流水號']
  uuid                          char(36)            [unique, note: 'uuid']
  name                          varchar(250)        [null, note:'名稱']
  company_tax_id_number         varchar(10)         [note:'統編']
  status                        smallint(5)         [default: 201, note: '狀態']
  deleted_at                    timestamp
  created_at                    timestamp
  updated_at                    timestamp

  indexes{
    uuid                                [unique, note: 'uuid索引']
    company_tax_id_number               [note: '統編索引']
    (status, deleted_at)                [note: '狀態索引']
  }
}
....

```

### step3 執行 解析 DB Diagram 產生 migration 檔指令

[](#step3-執行-解析-db-diagram-產生-migration-檔指令)

```
php artisan clive0417:migration_generate --db_diagram_path="{{DB Diagram 檔案路徑}}"
```

### step4 執行 laravel migrate 指令，建立DB table

[](#step4-執行-laravel-migrate-指令建立db-table)

```
php artisan migrate
```

### step5 執行讀取DB 產生 model 檔指令

[](#step5-執行讀取db-產生-model-檔指令)

```
php artisan clive0417:model_generate
```

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [](https://github.com/clive0417/d-b-diagram-regular-parse)
- [All contributors](https://github.com/clive0417/d-b-diagram-regular-parse/graphs/contributors)

This package is bootstrapped with the help of [melihovv/laravel-package-generator](https://github.com/melihovv/laravel-package-generator).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

6

Last Release

1335d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/67502027?v=4)[clive0417](/maintainers/clive0417)[@clive0417](https://github.com/clive0417)

---

Tags

regularparsediagramdb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/clive0417-d-b-diagram-regular-parse/health.svg)

```
[![Health](https://phpackages.com/badges/clive0417-d-b-diagram-regular-parse/health.svg)](https://phpackages.com/packages/clive0417-d-b-diagram-regular-parse)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M375](/packages/illuminate-redis)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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