PHPackages                             niclas-timm/eloquent-schema-viewer - 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. niclas-timm/eloquent-schema-viewer

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

niclas-timm/eloquent-schema-viewer
==================================

1.0.0(2y ago)3987MITPHP

Since Nov 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/niclas-timm/eloquent-schema-viewer)[ Packagist](https://packagist.org/packages/niclas-timm/eloquent-schema-viewer)[ RSS](/packages/niclas-timm-eloquent-schema-viewer/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Eloquent schema viewer
======================

[](#eloquent-schema-viewer)

Eloquent schema viewer is is a small package for **Laravel** applications that let's you view the database table schema for your eloquent models.

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

[](#installation)

Install the package via composer:

```
composer require --dev niclas-timm/eloquent-schema-viewer

```

Usage
-----

[](#usage)

Once the package is installed, you can use it to print your eloquent model schemas to the terminal:

```
php artisan eloquent-schema-viewer:view --model="User"

```

This command will print the schema of the user model to the terminal like so: [![](./docs/img/schema-view-user-model.png)](./docs/img/schema-view-user-model.png)

Options
-------

[](#options)

OptionDescriptionExamplemodelThe name of the model you want to view the schema for.--model="User"tableThe name of the table you want to view the schema for.--table="users"One of those two options must be set. Otherwise, the command will fail.

Aliases
-------

[](#aliases)

Since the command `eloquent-schema-viewer:view` is quite long, we configured some shorter aliases: `esv:view` and `esv:view-schema` do the same thing as `eloquent-schema-viewer:view`.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

964d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/381f10a1adac5e8795dba0dddf2186ee5fdff54d1a59e7e348f5db26fddf0950?d=identicon)[NiclasTimm](/maintainers/NiclasTimm)

---

Top Contributors

[![niclas-timm](https://avatars.githubusercontent.com/u/58849920?v=4)](https://github.com/niclas-timm "niclas-timm (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/niclas-timm-eloquent-schema-viewer/health.svg)

```
[![Health](https://phpackages.com/badges/niclas-timm-eloquent-schema-viewer/health.svg)](https://phpackages.com/packages/niclas-timm-eloquent-schema-viewer)
```

###  Alternatives

[bitwasp/buffertools

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

64774.5k42](/packages/bitwasp-buffertools)[winter/storm

Winter CMS Storm Library

46251.0k6](/packages/winter-storm)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17178.1k1](/packages/murdercode-nova4-tinymce-editor)

PHPackages © 2026

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