RealTime Chat Application using Laravel 5.5

Learn how to build a real-time chat application using Laravel 5.5. In this series, I am going to use Laravel echo, Pusher js, Vue js and Bulma (optional). In the last video of this series, I am using Loadash for finding whether a user is online or not. So make sure you have not removed Loadash while creating a new project if you are going to do the same way as I did. There is always a GitHub repository for my series and for this series click here to go that page.

You should refer to Laravel Documentation for better understanding, for more examples and for finding different ways of doing something other than from what I have taught you.

Refer here for a better understanding of broadcasting and using of channels. Also, you can find the difference between a private channel and a presence channel with few examples.


This series includes following videos

  1. Introduction
  2. Installation
  3. Friends
  4. Chat with Friends
  5. Broadcast
  6. Online Users

Correcting Common Mistakes made by Users

  1. Inside .env file, check whether you have changed BROADCAST_DRIVER=log to BROADCAST_DRIVER=pusher 
  2. Inside app.php file inside the config folder, check whether you have uncommented App\Providers\BroadcastServiceProvider::class,
  3. Don't forget to run php artisan config:cache once you have edited your .env file or made changes to any files inside your config folder.
Also, don't forget to support my channel by subscribing to it. Click the bell icon for not missing any of my future videos.

Comments

  1. Hi I implemented your chat application in Laravel and it is working fine.Thanks.
    But this one limited only to the just message I also want to share the attachments in the chat.Can you please provide me any link of resources which helps in integration.

    ReplyDelete
    Replies
    1. Thanks for your reply. I will surely prepare a series on that afterwards.

      Delete
  2. Hi dear. thanks a lot for this app. my program doesn't work because of this error.

    Failed to load resource: the server responded with a status of 500 (Internal Server Error)
    Uncaught (in promise) Error: Request failed with status code500
    at createError (app.js:14241)
    at settle (app.js:35677)
    at XMLHttpRequest.handleLoad (app.js:14115)
    but I don't know why... please help me to solve that

    ReplyDelete
  3. Hi, ExpressTech laravel Development Company provide fluency in delivering simple code for a variety of bundles to help create effective and Secure websites for Various fields of industry and domains. We help businesses to achieve their estimated goals using leading solutions from the Laravel framework. Contact@ExpressTechSoftwares.Com or +91-9806724185

    ReplyDelete

Post a Comment

Popular posts from this blog

Email verification on Account registration

RealTime Notification system using Laravel 5.5