This package develop on laravel, please confirm use it on laravel project.In the daily development, some structures of the data table may have certain changes, such as: add one field or remove one field. If the development cycle of the project is long, we may forget about the structure of some data tables so that we need to look at the Migration
file or enter Mysql
to see the structure of the data table, but I think this is a waste of time! Therefore, I developed this package. When we need to look at the structure of data tables that we do not remember very clearly, we only need one command!
- MySQL
composer require qsnh/laravel-cadillac dev-master --dev
It's recommended use it in develop environment.
php artisan cadillac [tableName] --export --html
php artisan cadillac
php artisan cadillac tableName
php artisan cadillac --export
php artisan cadillac --export --html
php artisan cadillac --f=users
output:
id,name,email,password,remember_token,created_at,updated_at
and if u add --q
params,it will print:
'id','name','email','password','remember_token','created_at','updated_at'
MIT