A small Laravel package to show basic database tables and column information from an Artisan command.
You can install the package via composer:
composer require resohead/laravel-cli-schema {--dev}
Get all tables and columns
php artisan schema:table
Get a list of all tables
php artisan schema:table --list
Get a column information for a table
php artisan schema:table --name=users
Get a column information for a table via prompt with select list
php artisan schema:table --name=
Select a table:
> users
Get a column information for a model
php artisan schema:table --model=App\\User
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email s.white9904@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.