Download the PHP package nickcousins/schemaview-laravel without Composer
On this page you can find all versions of the php package nickcousins/schemaview-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nickcousins/schemaview-laravel
More information about nickcousins/schemaview-laravel
Files in nickcousins/schemaview-laravel
Download nickcousins/schemaview-laravel
More information about nickcousins/schemaview-laravel
Files in nickcousins/schemaview-laravel
Vendor nickcousins
Package schemaview-laravel
Short Description A simple Artisan command to view the schema of any Eloquent model
License MIT
Package schemaview-laravel
Short Description A simple Artisan command to view the schema of any Eloquent model
License MIT
Please rate this library. Is it a good library?
Informations about the package schemaview-laravel
SchemaViewLaravel
A simple artisan command to view the Schema of an Eloquent model
Installation
- Composer Require:
nickcousins/schemaview-laravel
- Add the following line to your config/app.php service providers:
nickcousins\schemaview\SchemaViewServiceProvider::class,
Usage
Run the command php artisan schema {model}
to view the schema of your chosen model
e.g. php artisan schema User
to use the default application namespace
e.g. php artisan schema AnotherNamespace\\Class
to specify the namespace
Sample Output
Schema for Model: App\User
Table: users
+----------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+------------------+------+-----+---------+----------------+
| id | int(10) unsigned | NO | PRI | | auto_increment |
| name | varchar(255) | NO | | | |
| email | varchar(255) | NO | UNI | | |
| password | varchar(60) | NO | | | |
| remember_token | varchar(100) | YES | | | |
| created_at | timestamp | YES | | | |
| updated_at | timestamp | YES | | | |
+----------------+------------------+------+-----+---------+----------------+
All versions of schemaview-laravel with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
5.2.*
The package nickcousins/schemaview-laravel contains the following files
Loading the files please wait ....