Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 5 error when composer update

[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Illuminate\Broadcasting\BroadcastServiceProvider' not found

how to solve this error?

I am new for laravel framework

like image 371
user3101664 Avatar asked Jun 26 '15 10:06

user3101664


3 Answers

According to this run following,

composer install --no-dev --no-scripts
composer install --no-dev -o
like image 141
pinkal vansia Avatar answered Nov 16 '22 17:11

pinkal vansia


This worked for me:

  • Delete your /vendor folder
  • Delete composer.lock
  • Run composer install

Make sure your composer.json file has "laravel/framework": "5.1.*"

like image 3
ecairol Avatar answered Nov 16 '22 17:11

ecairol


  • Delete your /vendor folder
  • Delete composer.lock
  • Run these commands

    1. composer install --no-dev --no-scripts
    2. composer install --no-dev -o
    3. composer install
like image 3
Deepak Kr Avatar answered Nov 16 '22 17:11

Deepak Kr