OwenIt\Auditing\Console\InstallCommand::fire PHP Method

fire() public method

Execute the console command.
public fire ( ) : void
return void
    public function fire()
    {
        $this->info('Publishing the config files');
        Artisan::call('vendor:publish', ['--provider' => 'OwenIt\\Auditing\\AuditingServiceProvider']);
        $this->info('Publishing the migration file');
        Artisan::call('auditing:table');
        $this->info('Successfully installed Laravel Auditing! Enjoy :)');
    }
InstallCommand