Artisan Console

Laravel Artisan Console

Output to CLI console

$this->line('This is "line" output');
$this->info('This is "info" output');
$this->comment('This is "comment" output');
$this->question('This is "question" output');
$this->warn('This is "warn" output');
$this->error('This is "error" output');

Artisan Output

Reference