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

EbrahemSamer's avatar

Upgrading to Laravel 8 (php artisan) do not work ?

I want to upgrade my project from 5.8v to 8v

I did update composer.json

from this link on github

https://github.com/laravel/laravel/blob/master/composer.json

and when I run composer update

it seem nothing wrong.

After that i tried to serve application but I get this error


PHP Fatal error: Declaration of App\Exceptions\Handler::report(Exception $exception) must be compatible with Illuminate\Foundation\Exceptions\Handler::report(Throwable $e)


0 likes
1 reply

Please or to participate in this conversation.