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

merlinkm's avatar

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255

when i run a laravel 6 project in php version 8.1.2, it showing Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255

0 likes
2 replies
tisuchi's avatar

@merlinkm Probably there are a few potential possibilities to have this.

I found this after googling.

Take a look there. Maybe it will help you.

hiruruku's avatar

I had the same issue. I just only noticed the laravel 6 supports PHP7.2~8.0 on this page.

1 like

Please or to participate in this conversation.