2017 © Pedro Peláez
 

library laravel-artisan-database

Get the table records from artisan

image

guntur/laravel-artisan-database

Get the table records from artisan

  • Tuesday, March 14, 2017
  • by guntur
  • Repository
  • 1 Watchers
  • 3 Stars
  • 167 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Laravel Artisan Database Command

Get the table records from artisan, (*1)

Prerequisites

Installation

$ composer require --dev 'guntur/laravel-artisan-database'

Usage

Register Command

Update the app/Console/Kernel.php like this., (*2)

<?php

namespace App\Console;

use Guntur\Artisan as Art;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        Art\DatabaseTableCommand::class,
    ];

    // ...
}

Artisan

❯ php artisan db:table --help
Usage:
  db:table [options] [--] 

<

table>

Arguments:
  table                  The table name

Options:
      --fields[=FIELDS]  Select with the specified field. Separate with `,` for multiple fields [default: "all"]
  -h, --help             Display this help message
  # ...

Help:
  Show the records of table

Contributions

  • Pull Requests and Issues: welcome

Please teach me for your PRs. :smile:, (*3)

License

MIT © Guntur Poetra, (*4)

The Versions

14/03 2017

dev-master

9999999-dev

Get the table records from artisan

  Sources   Download

MIT

The Requires

 

by Guntur Poetra

14/03 2017

v1.0.1

1.0.1.0

Get the table records from artisan

  Sources   Download

MIT

The Requires

 

by Guntur Poetra

14/03 2017

v1.0.0

1.0.0.0

Get the table records from artisan

  Sources   Download

MIT

The Requires

 

by Guntur Poetra