Source Code of Ratchet Websocket Chat Application

Hi If you are looking for source code of Ratchet Websocket library Chat Application, then you have come on right place and from this page you can download complete source code of Real-time chat application using Ratchet PHP Websocket library. There are many video tutorial we have already published now we need to also publish source code of this Chat application tutorial series, you can run chat application in your local computer.

If you have download source code from this web page, then you can get the complete source code of this Ratchet Chat application, because from this web page you can get the source code for how to create PHP Live chat application using websockets. For run this source code in your local computer, you have to follow below step.

  1. Download source code from below download chat application source code link.
  2. After download source code, and when you have extract source code it will ask password, so you can get password from this chat application video link.
  3. Next make database in your local phpmyadmin.
  4. Create required table in your newly created database, for get sql script, please visit Build Real time Chat Application in PHP Mysql using WebSocket page link.
  5. After creating database, you have to make database connection, so open database/Database_connection.php and define your mysql database configration.
  6. Next you have to start server, so for this go to command prompt and then after go to your chat application directory, and run php bin/server.php command, it will start server.
  7. And now you can able to test chat application in your local working environment.

After follow above steps and still you have not able to test Ratchet Chat application in your local computer then you can ask your query under this page comment box, we will reply on your comment and solve your query.









40 comments:

  1. Replies
    1. You can find password for source file at https://www.youtube.com/watch?v=l2P0dgjz8wQ&list=PLxl69kCRkiI0U4rM9RA1VBah5tfU26-Fp this video description. At the end of video description you can find password, and that is common password for both zip and rar file. So check it.

      Delete
    2. Got it. Thanks.. btw, do you have the sql file? I created my own but it stucked on the authenticate at PHPMailer not sure why.. maybe I need the original sql file.

      Delete
  2. i watch all the vedio but i cant find the password there pleas tell me i really need it

    ReplyDelete
    Replies
    1. You can find password for source file at https://www.youtube.com/watch?v=l2P0dgjz8wQ&list=PLxl69kCRkiI0U4rM9RA1VBah5tfU26-Fp this video description. At the end of video description you can find password, and that is common password for both zip and rar file. So check it.

      Delete
  3. Sorry when I'm trying to send my message the server can not find driver and data not inserted to datebase

    ReplyDelete
  4. please i can not find database??

    ReplyDelete
  5. password at video description is not working

    ReplyDelete
  6. Thank you for this amazing tutorial. Can you please update your source code with the one to one chat version

    ReplyDelete
  7. Hi, Where is the database. I extracted the zip file but did not find the database.

    ReplyDelete
  8. Replies
    1. Second last line of video description is the password for zip file source code. So check it again.

      Delete
  9. Hi, I'm sorry but the password at the end of the description doesn't work for me ? Thanks's a lot for your help.

    ReplyDelete
  10. how do i log in...sucess register and enable..user but at login ...log user but nothing happen..please reply...Sir...thank you

    ReplyDelete
  11. removed data-parsley-pattern="^[a-zA-Z]+$" in register.php and was able to login

    ReplyDelete
  12. What is the password? i've watched the video.

    ReplyDelete
    Replies
    1. Second last line of video description is the password for zip file source code. So check it again.

      Delete
  13. password is not working if you really don't want to share your code why are you making people fools.

    ReplyDelete
  14. No logro iniciar el servidor.
    C:\xampp\htdocs\chat>php bin / server.php
    Este comando me lanza la siguiente respuesta: "php" no se reconoce como un comando interno o externo,
    programa o archivo por lotes ejecutable.

    ReplyDelete
  15. no database error cannot login...register user also enable at phpmyadmin didnt log in the user

    ReplyDelete
  16. I can't log in, i dont' why, i have the database and the other files in the right way, but when i try to log in it doesn't work

    ReplyDelete
  17. hello! there is no sql file in .zip ? from where i will get the sql file.

    ReplyDelete
  18. I am Extract File so it was taking password so can't get password i am not able to get pass

    ReplyDelete
  19. how to create login credetials?

    ReplyDelete
  20. Pls I need the password to unzip the folder:oluwatobiisaiah0409@gmail.com

    ReplyDelete
    Replies
    1. bro password work ,you have type the password manually .don't copy and past the password

      Delete
  21. Hello, Really helpful and nice tutorial. please advise how to deploy this application on hosting server ?

    ReplyDelete
  22. password and db sql file please

    ReplyDelete
  23. Unable to login, no error nothing show :( can any one tells whats issue and one more thing i am using php 7.4

    ReplyDelete
  24. giving error PHPmailer please anyone tell how can i solve it

    ReplyDelete
  25. anyone post the password here i cant find it on youtube

    ReplyDelete
  26. Please why you not share the sql file if everything you shared.

    ReplyDelete
  27. Thanks for this tutorial. Here we run it with php bin/server.php command what will happen when i try to run this code on live server instead of local server. Will you guide me for this?

    ReplyDelete