Additional Laravel Artisan commands that I often needed.
Via composer:
$ composer require yappkahowe/artisan
If you're using Laravel 5.5, you can skip this step. The service provider will have already been registered thanks to auto-discovery.
Otherwise, register YappKaHowe\Artisan\ServiceProvider::class
manually in your config/app.php
'providers' => [
// Other service providers...
YappKaHowe\Artisan\ServiceProvider::class,
],
If you now run php artisan
you will see two new commands in the list:
db:reseed
db:truncate
All contributions (in the form on pull requests, issues and feature-requests) are welcome.
yappkahowe/artisan
is licenced under the MIT License (MIT). Please see the
license file for more information.