PHPackages                             phuocqn2/fillable - 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. phuocqn2/fillable

ActiveLibrary

phuocqn2/fillable
=================

Artisan Command Get Table Field

010PHP

Since Jun 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Phuoc95/artisan-helper-table)[ Packagist](https://packagist.org/packages/phuocqn2/fillable)[ RSS](/packages/phuocqn2-fillable/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Package: PhuocQn Fillable
=================================

[](#laravel-package-phuocqn-fillable)

Package giúp DEV xem danh sách các table trong db và các trường của một table bằng dòng lệnh.

Ngoài ra, bạn có thể dùng các field trên để khai báo fillable trong model.

Cài đặt
-------

[](#cài-đặt)

Chạy lệnh:

- composer require phuocqn/fillable:dev-master

Hoặc nếu chỉ muốn cài đặt ở môi trường phát triển, chạy lệnh:

- composer require --dev phuocqn/fillable:dev-master

Chức năng:
----------

[](#chức-năng)

#### Xem danh sách table

[](#xem-danh-sách-table)

Bao gồm các tùy chọn:

- default: sẽ hiển thị tên table như trong db và kèm theo số thứ tự
- upper: sẽ chuyển tên table thành chữ hoa và kèm theo số thứ tự
- const: sẽ tạo sẵn câu lệnh khai báo hằng số với const
- define: sẽ tạo sẵn câu lệnh khai báo hằng số với define

Các lệnh tương ứng với các tùy chọn:

- php artisan table:show-list hoặc php artisan table:show-list default
- php artisan table:show-list upper
- php artisan table:show-list const
- php artisan table:show-list define

Các kết quả tương ứng với từng tùy chọn:

- default: 1. users
- upper: 1. USERS
- const: const TABLE\_USERS = 'users';
- define: define('TABLE\_USERS', 'users');

#### Xem danh sách field của một table

[](#xem-danh-sách-field-của-một-table)

Chạy lệnh:

- php artisan table:show-field &lt;table\_name&gt;

Ví dụ:

- php artisan table:show-field users

Lưu ý:
------

[](#lưu-ý)

Trong một số trường hợp phát sinh lỗi liên quan đến tên lệnh 'table', chạy lệnh sau để cập nhật tải class:

- composer dump-autoload

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5414443e7a8b54a50ffafd6ad8656588c636aa078a7873e84caefb7d4b5aa8a6?d=identicon)[Phuoc95](/maintainers/Phuoc95)

### Embed Badge

![Health badge](/badges/phuocqn2-fillable/health.svg)

```
[![Health](https://phpackages.com/badges/phuocqn2-fillable/health.svg)](https://phpackages.com/packages/phuocqn2-fillable)
```

PHPackages © 2026

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