Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turning off ANSI colours for Laravel artisan command

When i run any php artisan commands it always puts some that trailing characters[32m], [39m] and all those numbers. How am I gonna fix this ?

A:\xampp\htdocs\5.2>php artisan --version
[32mLaravel Framework[39m version [33m5.2.41[39m
like image 377
Fluxify Avatar asked Sep 03 '25 04:09

Fluxify


1 Answers

Those are ANSI colours - an attempt to make it look nicer, easier to read. If your terminal doesn't support ANSI, you can turn them off by passing a command-line parameter --no-ansi:

php artisan --version --no-ansi
like image 158
Denis Mysenko Avatar answered Sep 05 '25 00:09

Denis Mysenko