I downloaded a laravel project online from link I ran the command is composer update and composer install. The error i'm seeing is:
In ProviderRepository.php line 208:
Class "Collective\Html\HtmlServiceProvider" not found
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
After deleting vendor file and running composer install and composer update im getting this
PHP Fatal error: Declaration of App\Providers\EventServiceProvider::boot(Illuminate\Contracts\Events\Dispatcher $events) must be compatible with Illuminate\Foundation\Support\Providers\EventServiceProvider::boot() in C:\xampp\htdocs\ZAlert\app\Providers\EventServiceProvider.php on line 27 In EventServiceProvider.php line 27:
Declaration of App\Providers\EventServiceProvider::boot(Illuminate\Contracts\Events\Dispatcher $events) must be compatible with Illuminate\Foundation\Support\Providers\EventServiceProvider::boot()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255
I was expecting this to run in laravel 9