As you know, the php artisan command has the –ansi option to force the ANSI colour output. Anyway, if you have developed your artisan command, you may wish to display its output in ANSI colour mode, you can force it by using: Of course, you may put the above code in your construct method.

Read More