Skip to content

Commit 34bdbcb

Browse files
committed
Part 1 - Finished configuration to get Laravel Echo and Pusher Setup
1 parent daead53 commit 34bdbcb

14 files changed

+56347
-16
lines changed

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
*/
174174
App\Providers\AppServiceProvider::class,
175175
App\Providers\AuthServiceProvider::class,
176-
// App\Providers\BroadcastServiceProvider::class,
176+
App\Providers\BroadcastServiceProvider::class,
177177
App\Providers\EventServiceProvider::class,
178178
App\Providers\RouteServiceProvider::class,
179179

config/broadcasting.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
'secret' => env('PUSHER_APP_SECRET'),
3737
'app_id' => env('PUSHER_APP_ID'),
3838
'options' => [
39-
//
39+
'cluster' => 'mt1',
40+
'encrypted' => true
4041
],
4142
],
4243

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,9 @@
1717
"laravel-mix": "^1.0",
1818
"lodash": "^4.17.4",
1919
"vue": "^2.5.7"
20+
},
21+
"dependencies": {
22+
"laravel-echo": "^1.3.2",
23+
"pusher-js": "^4.2.1"
2024
}
2125
}

0 commit comments

Comments
 (0)