Chimezie Enyinaya wrote a nice tutorial on how to build a "who's typing" feature using Laravel 5 and Pusher.

Laravel who's typing feature

When you’re using a chat app, having a ‘who’s typing’ feature really improves the user experience and makes it easier for users to interact with the application. If you’re chatting with someone, you can easily see when the other person is responding to your chats, saving you time from typing ‘you there?’ and letting you know when to wait for the other person’s response, so you don’t keep sending messages.