Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ghaleon's avatar

Php Artisan command strange return

When I run php artisan with my laravel 5.0 installation, this is what I get:

http://imgur.com/a/XHVmL

But, when I run the same command within my fresh laravel 5.2 installation. This is what I get:

http://imgur.com/a/22GsT

Any idea why ?

0 likes
5 replies
bajro17's avatar

because cmd don't show colors correct if you enter in cmd and type powershell then type your artisan command you will get all correct. I still don't find solution for this, just little bother me

Ghaleon's avatar

What I meant is: In the first image, its all readable. But in the second one, you can't read anything, it's all messed up...

it's like the response time is showed and makes everything impossible to read.

bajro17's avatar

try this what I write to you. This is because cmd cant show you colors if you open powershell and type artisan commands you will see it is yellow

Ghaleon's avatar

I use the same Git Bash prompt. The only difference here is that It's working in my old 5.0 laravel installation but it's messed up in my new 5.2 laravel installation.

Please or to participate in this conversation.