Class 'Pusher' not found
问题 When I install Pusher package, I got an error "Class 'Pusher' not found". 回答1: Claudio's diagnosis is correct, the namespace Pusher was added in version 3; but changing the Laravel files is not a recommended solution. A better way is to create an alias in config/app.php . Under the 'aliases' key, add this to the array in the "Third Party Aliases" section: 'Pusher' => Pusher\Pusher::class, 回答2: With the version 3 of Pusher I realized that there is changed the namespace for Pusher\Pusher. If