ghulamali2612/artisan

Laravel basic artisan command to run using console

v1.5 2019-09-26 16:50 UTC

This package is auto-updated.

Last update: 2024-05-27 03:04:39 UTC


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