Skip to main content

Command Palette

Search for a command to run...

Fix the strange characters for (PHP) Artisan

Updated
1 min read
Fix the strange characters for (PHP) Artisan
E

Senior Data- and Software Engineer with many years experience in Hadoop and Laravel. Living in Denmark, based many years in Asia and Cambodia.

I have lately been facing an issue where my artisan outputs a lot of strange characters such as ?[32m. It seems to be an issue with the latest Laravel.

Until now I have managed to read around it, but it still annoyed me.

Finally today I found the solution in this thread: https://laracasts.com/discuss/channels/laravel/php-artisan-not-working-4?page=1#reply=543852

Solution

As Nakov says, you must have this package in your project to make it look correct again:

composer require symfony/console:4.3.4

More from this blog

E

Emil Moe

30 posts

Data Engineer specialised in PySpark and webworks in Laravel and Vue