Skip to content

SUKOHI/DbVerge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

DbVerge

A Laravel package to show the first or the last row data of DB in command line.
(This is for Laravel 5. For Laravel 4.2)

Installation

Execute composer command.

composer require sukohi/db-verge:2.*

Register the service provider in app.php

'providers' => [
    ...Others...,  
    Sukohi\DbVerge\DbVergeServiceProvider::class,
]

Now you are able to execute php artisan db:verge command.

Basic usage

php artisan db:verge

Options

--orderby

Order direction. asc or desc. Default is desc.

--table

Specific table name that you'd like to show.

--limit

Number of records to return. Default is 1.

License

This package is licensed under the MIT License.

Copyright 2016 Sukohi Kuhoh

About

A Laravel package to show the first or the last row data of DB in command line.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages