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)
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.
php artisan db:verge
--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.
This package is licensed under the MIT License.
Copyright 2016 Sukohi Kuhoh