ghulamali2612 / artisan
Laravel basic artisan command to run using console
v1.5
2019-09-26 16:50 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: ^4.8|^5.5|^6.5
README
Laravel basic artisan commands
Installation
Use Composer to install the library.
$ composer require ghulamali2612/artisan
Implementation
Add this line in config/app.php
GhulamAli\Artisan\ArtisanServiceProvider::class
Usage
- $ php artisan artisan-database:tables //List of your database table
- $ php artisan artisan-database:refresh //Truncate all database tables except migration
- $ php artisan artisan-database:truncate table_name //Truncate requested table only
- $ php artisan artisan-database:drop table_name //Drop the requested table
- $ php artisan artisan-log:clear //Clear storage/logs/laravel.log file