I want to run artisan command and i can't because of the problem.
I try to search answer in the internet but there is no solution for my error. There are solutions for other type of errors, but there is no information for this one.
php artisan ... -> gives no result all of this composer commands throw an exception: composer install, composer update, composer dump-autoload ...
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255