PHPackages                             laratoolbox/database-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. laratoolbox/database-viewer

ActiveLibrary

laratoolbox/database-viewer
===========================

Get tables and columns on cli for seamless development experience

v0.1.0(5y ago)218MITPHPPHP &gt;=7.0

Since Dec 20Pushed 5y ago2 watchersCompare

[ Source](https://github.com/laratoolbox/database-viewer)[ Packagist](https://packagist.org/packages/laratoolbox/database-viewer)[ Docs](https://github.com/laratoolbox/database-viewer)[ RSS](/packages/laratoolbox-database-viewer/feed)WikiDiscussions main Synced 1mo ago

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

[![Social Image](social.jpg)](social.jpg)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c9b26628eb7620be465b77450965787c8f583c97373ef55397db81660d1715ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c617261746f6f6c626f782f64617461626173652d7669657765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laratoolbox/database-viewer)[![Build Status](https://camo.githubusercontent.com/59b64674630a0902fbe36c071088f788fede59cd2deef22b869c145ad52af0b5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c617261746f6f6c626f782f64617461626173652d7669657765722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laratoolbox/database-viewer)[![Quality Score](https://camo.githubusercontent.com/51a5dfc208123388fd882f3c8b452b27adf231c32cd402146a9945b53bda007a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c617261746f6f6c626f782f64617461626173652d7669657765722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laratoolbox/database-viewer)[![Total Downloads](https://camo.githubusercontent.com/eed94ded2532ede0fb36b26a9dfac266f2337d8d7fbc2841406d14fa0b7c3ef6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c617261746f6f6c626f782f64617461626173652d7669657765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laratoolbox/database-viewer)

A laravel package that adds commands for getting table / column info into artisan cli.

Before install
--------------

[](#before-install)

- This package works on mysql only.

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

[](#installation)

You can install the package via composer:

```
$ composer require laratoolbox/database-viewer
```

Usage
-----

[](#usage)

- Get tables

```
$ php artisan db:tables

failed_jobs
migrations
password_resets
users
```

- Get columns for a specific table

```
$ php artisan db:columns --table=users

id
name
email
email_verified_at
password
remember_token
created_at
updated_at
```

- Get columns for a specific table as doc block formatted

```
$ php artisan db:columns-doc --table=users

/**
 * @property int $id
 * @property string $name
 * @property string $email
 * @property string|\Illuminate\Support\Carbon $email_verified_at
 * @property string $password
 * @property string $remember_token
 * @property string|\Illuminate\Support\Carbon $created_at
 * @property string|\Illuminate\Support\Carbon $updated_at
 */
```

### Testing

[](#testing)

// TODO:

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Semih ERDOGAN](https://github.com/laratoolbox)
- [Dincer DEMIRCIOGLU](https://github.com/dinncer)
- [All contributors](https://github.com/laratoolbox/database-viewer/graphs/contributors)
- The social image generated with [banners.beyondco.de](https://banners.beyondco.de/).
- This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

1974d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5646041?v=4)[Semih ERDOGAN](/maintainers/semiherdogan)[@semiherdogan](https://github.com/semiherdogan)

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

---

Top Contributors

[![semiherdogan](https://avatars.githubusercontent.com/u/5646041?v=4)](https://github.com/semiherdogan "semiherdogan (11 commits)")

---

Tags

laravel-artisan-commandlaravel-databaselaravel-frameworklaratoolboxdatabaseviewer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laratoolbox-database-viewer/health.svg)

```
[![Health](https://phpackages.com/badges/laratoolbox-database-viewer/health.svg)](https://phpackages.com/packages/laratoolbox-database-viewer)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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