vandyczech
3 months ago

Laravel 5.8 Pusher not found

Posted 3 months ago by vandyczech

I have problem with run Pusher ... I see error

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'Pusher\Pusher' not found
…/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastManager.php212

composer.json

 "require": {
         "pusher/pusher-php-server": "^3.0"
    },

in config.app I have uncommented

 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,

and add alias for Pusher

 'Pusher' => \Pusher\Pusher::class,

But still not works ://////////////////

Please sign in or create an account to participate in this conversation.