Create Web Notifications Using Laravel and Pusher Channels
When building web applications, it is not uncommon to find some sort of in-app notification system that will notify you instantly when someone carries out an action related to you or your account. On Facebook, you will be notified when someone likes your status, or when someone comments on your profile. We will replicate this feature by creating a web notifications system using Laravel and Pusher.
To follow this tutorial, you need to have PHP and Laravel installed on your machine.
What we would be building
After this tutorial we would demonstrate how we can have a small web application show notifications using Laravel and Pusher. It would be similar to how websites like Facebook show notifications. Here is a preview of what we would be building:
Setting up your Pusher application
Create...