a2design/laravel-list-db

Allows DB structure listing (with types)
63
Install
composer require a2design/laravel-list-db
Latest Version:v1.2.1
License:MIT
Last Updated:Jun 30, 2016
Links: GitHub  ·  Packagist
Maintainer: rabbiabram

laravel-list-db

Allows DB structure listing (with types)

Code Climate

Installation

  • Run Composer install
    composer require a2design/laravel-list-db
  • Add service provider to your app config:
    'providers' => [
        ...
        A2Design\LaravelListDb\ListDbServiceProvider::class,
    ],
    ...

If you want to see table columns listing, use:

    php artisan table:columns tableName

And for models:

    php artidan model:columns modelName

Formatting

  • %po - Platform options
  • %nn - Not Null
  • %dt - Default Value
  • %ai - Auto Increment
  • %c - Column Name
  • %t - Column Type
  • %u - Unsigned
  • %l - Column Length
  • %p - Column Precision
  • %s - Column Scale
  • %f - Column is fixed

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660

Version History

Version Released License
v1.2.1 MIT
v1.1.4 MIT
v1.1.2 MIT
v1.1.1 MIT
v1.0.3 MIT