PHPackages                             wythe1101083935/laravel-model-generator - 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. wythe1101083935/laravel-model-generator

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

wythe1101083935/laravel-model-generator
=======================================

Laravel 5.6 model generator from existing schema

1.4(7y ago)019MITPHPPHP &gt;=5.4.0

Since Sep 7Pushed 7y agoCompare

[ Source](https://github.com/wythe1101083935/laravel-model-generator)[ Packagist](https://packagist.org/packages/wythe1101083935/laravel-model-generator)[ RSS](/packages/wythe1101083935-laravel-model-generator/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Laravel 5.6 从已经存在的数据库表格中批量创建模型
------------------------------

[](#laravel-56-从已经存在的数据库表格中批量创建模型)

注册
--

[](#注册)

在文件 /app/Console/Kernel.php 中注册命令

```
    /**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        \Wythe\LaravelCommand\MakeModels::class  //这一行代码注册命令，注意第一个\要加
    ];
```

选项说明 artisan help make:models
-----------------------------

[](#选项说明-artisan-help-makemodels)

```
 --table[=TABLE]            指定要创建的表格 不建议填，填了报错，此处字符串转换数组尚未修复，懒得修复

 --path[=PATH]              模型创建的目录，默认目录为 app/Models

 --database[=DATABASE]      要创建的数据库，不选，使用默认数据库

 --created_at[=CREATED_AT]  Set create time field [default: "created_at"]  指定创建时间字段

 --updated_at[=UPDATED_AT]  Set update time field [default: "updated_at"]  指定更新时间字段

  -ut, --timestamps         是否使用自动更新时间戳，不填x此项，默认不使用

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

5

Last Release

2804d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ba69233bb9e1040775cb1e731ef6e144bd1eb610220fbc943f5bfd6b89cd554?d=identicon)[wythe1101083935](/maintainers/wythe1101083935)

---

Top Contributors

[![wythe1101083935](https://avatars.githubusercontent.com/u/30435559?v=4)](https://github.com/wythe1101083935 "wythe1101083935 (22 commits)")

---

Tags

laravelschemageneratormodel

### Embed Badge

![Health badge](/badges/wythe1101083935-laravel-model-generator/health.svg)

```
[![Health](https://phpackages.com/badges/wythe1101083935-laravel-model-generator/health.svg)](https://phpackages.com/packages/wythe1101083935-laravel-model-generator)
```

###  Alternatives

[rayvenues/eloquent-model-generator

Eloquent Model Generator

1325.2k1](/packages/rayvenues-eloquent-model-generator)

PHPackages © 2026

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