sukohi / db-verge
Show first or last row data of DB in command line.
2.0.2
2016-05-17 20:44 UTC
Requires
- laravel/framework: ~5.0
This package is not auto-updated.
Last update: 2024-11-04 07:33:00 UTC
README
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