php - Class Illuminate\Support\Composer not found after composer update (Laravel 5.1) -


i have project in laravel 5.1 , updated composer, after updated got following error:

> php artisan clear-compiled    [reflectionexception]                                class illuminate\support\composer not exist    script php artisan clear-compiled handling post-update-cmd event returned error code 1 

what i've found on internet information available laravel 5.2, mine laravel 5.1.

i must mention php artisan commands not work, returns same error.

why happening, , how can fix it?

run composer update --no-scripts remove packages doesn't exists.