Realtime Notification in Laravel Using Pusher

preview_player
Показать описание
0:00 Introduction of the product
3:36 Clone the Laravel authentication project from GitHub repository.
5:10 Setup the environment.
5:34 Create account for Pusher and add keys in .env.
07:52 Create Migration for Message & Task.
09:00 Install the pusher php server
09:40 Add attributes for Message & Task and run migration.
11:58 Add script for pusher in master file.
14:18 Create User and login to dashboard.
15:28 Create Task form.
19:38 Save the Task in database using Ajax & jQuery with validation.
27:07 Define route for task.
28:25 Define method for Task Controller.
39:10 Define pusher inside Task Controller.
42:37 Bind event using pusher in dashboard file.
49:00 Query for message counter inside User Controller.
54:10 Pass the data to navbar bell notification counter.
1:02:45 Create new user and test the notification.

In this video you will be able to learn how to implement pusher in Laravel. You will be able to generate push notification on real time without page refreshing. When user create a new task it will fire the notification using pusher and broadcast it. Each user have its own notification count.

Pusher

Code for this video

Complete Authentication Video to begin this project, click the link below (Part 1)

Complete Authentication Video to begin this project, click the link below (Part 2)

Complete Authentication Video Source Code

Please don't forget to like & Subscribe my YouTube channel.
Рекомендации по теме
Комментарии
Автор

Thank You❤️🔥 almost got 2 weeks to find this video🔥🔥

iamdevtony
Автор

Thank You, it's working fine from the front-end. but when i change data from DB,
data aren't loading realtime. what can I do?

shahalam
Автор

how to add droodown for notification??

afadaarugia
Автор

did you have download package in 53:08 for unread value please help me😞

afnanalkadasi
Автор

Hey, thank you for this tutorial. Will it receive notifications when the browser is closed or when it's in recent apps on mobile?

ushanbinusha
Автор

i need your help, i wnat to sent notification to specific user, how i can do that? I really need the solution for this problem. Thank you so much

phuoclocnguyen
Автор

Thanks bro...Working well
but i can't find the event.

TUHEDUL-ISLAM
Автор

hi, how are you
I face this error, how to fix it.
"message": "Pusher error: Timestamp expired: Given timestamp (2022-03-17T23:26:21Z) not within 600s of server time (2022-03-17T12:26:29Z)\n.",

salmanraza
Автор

Is it possible to use this realtime notification when uploading a file into your website?

jerrynickeyrefugia
Автор

please make chat laravel pusher without vue js

robyortega
Автор

let pending = parseInt($('#'+ I'm getting alert with NAn

melodicTune