angelod / laravel-list-db
Allows DB structure listing (with types).
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 3
pkg:composer/angelod/laravel-list-db
Requires
- doctrine/dbal: ^2.5
- hanneskod/classtools: ^1.1.3
- symfony/finder: ^4.0.4
README
Allows DB structure listing for Laravel's Eloquent models.
Installation
- Run Composer install
composer require angelod/laravel-list-db
If you want to see table columns listing, use:
php artisan dbshow:table tableName
And for models:
php artisan dbshow:model modelName
There are also versions that works on all the tables or models:
php artisan dbshow:tables
php artisan dbshow:models
In addition there are a few options deciding how much should be displayed in the listings.
These can be seen by using the --help
option with a given command.