Access Laravel application database information from php artisan command
thedevsaddam wrote a nice Laravel package that we can use to display our app's database schema information from Terminal.

Laravel Schema
This package will help to display database schema information from Terminal.
Available commands / Features
- php artisan schema:helpDisplay the available commands and usages.
- php artisan schema:simpleDisplay overall tables with total rows count.
- php artisan schema:listDisplay all the available tables. schema information in list (please see details below).
- php artisan schema:showDisplay all the available tables schema information in tabular form (please see details below).
- php artisan schema:table --t=yourTableName or --t=Namespace\\ModelDisplay a table's paginated data (please see details below).
- php artisan schema:query --r="wirte your raw sql query in double quote"Perform a sql query.
- php artisan schema:monitorDisplay database server status.
Some screenshots




Find more on here--> laravel-schema
Link:
This post is submitted by our members. Submit a new post.
Tags: Tutorials Packages Sources Laravel 5 Laravel 5.3 Laravel 5.2 Intermediate





 
                             
                             
                             
                             
                             
                            
 
                             
                             
                             
                            
