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 1mo ago

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 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity46

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

1281d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14b28fb54485dd791a77d0eacaf28b037e2ab88a17659d1803348b8cf1d66206?d=identicon)[clive0417](/maintainers/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

[spatie/regex

A sane interface for php's built in preg\_\* functions

1.1k17.1M59](/packages/spatie-regex)[enqueue/dsn

Parse DSN

12525.5M45](/packages/enqueue-dsn)[gabrielelana/byte-units

Library to parse, format and convert byte units

1672.2M19](/packages/gabrielelana-byte-units)[jbzoo/composer-graph

Render composer.json + composer.lock dependencies graph

66741.6k2](/packages/jbzoo-composer-graph)[jawira/plantuml

Provides PlantUML executable and plantuml.jar

21362.3k7](/packages/jawira-plantuml)[icehouse-ventures/laravel-mermaid

Simple package to generate diagrams in Laravel using the Mermaid.js library

2630.0k](/packages/icehouse-ventures-laravel-mermaid)

PHPackages © 2026

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