One to one live chat application in php

maninellai

maninellai

@maninellai-ok1cac Oct 26, 2024
hi all,
i want to create a gmail/facebook like chat application in php, can any one help me to do that, while searching in google ,i diidnt get anything

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • greatcoder

    greatcoder

    @greatcoder-Zo4hpf Apr 1, 2012

    #-Link-Snipped-#,
    The chat can be easily implemented using a protocol which is most widely used by almost all chatting applications: Extensible Messaging and Presence Protocol (XMPP).
    XMPP is a protocol which is specially designd for chatting applications. It is based on XML and also it inherently supports all chatting features such as showing status messages, showing user status: idle, bust, available etc. Before implementation u need to understand the messages flowing at the application level of this protocol.

    1) U need to develop a server application which can understand XMPP protocol messages.

    2) Once server is developed u need to do the programming for clients who will be registered on the server and also client program should unserstand all the XMPP protocol messages.

    Regards
    GC 👍
  • Ankita Katdare

    Ankita Katdare

    @abrakadabra Apr 2, 2012

    maninellai
    hi all,
    i want to create a gmail/facebook like chat application in php, can any one help me to do that, while searching in google ,i diidnt get anything
    Hello and welcome to CE.

    Good to know about your project.
    What kind of help do you actually want? CE members can help you with your ideas.

    We can help you better if you tell us the details. 👍
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Apr 6, 2012

    Did you check this out: #-Link-Snipped-#
    [​IMG]
  • way2ravi

    way2ravi

    @way2ravi-jACRXY Aug 27, 2012

    yup good but,it's not what i need, one to one chating as we use in facebook and gmail account .Can you please send me any link of any of such example that i can implement and use directly in my application


    thankx
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Aug 27, 2012

    way2ravi
    yup good but,it's not what i need, one to one chating as we use in facebook and gmail account .Can you please send me any link of any of such example that i can implement and use directly in my application


    thankx
    Why don't you do a simple google search?
  • rk rao

    rk rao

    @rk-rao-XDlYMf Aug 27, 2012

    way2ravi
    yup good but,it's not what i need, one to one chating as we use in facebook and gmail account .Can you please send me any link of any of such example that i can implement and use directly in my application


    thankx

    if it is in php, you need frameworks. i don't know which frameworks php uses.


    also, are you trying to design light weight server or RPC server?
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Aug 27, 2012

    rk rao
    if it is in php, you need frameworks. i don't know which frameworks php uses.


    also, are you trying to design light weight server or RPC server?
    What are you talking about frameworks? Why do you need a PHP Framework? I have created a lot of applications, which never use any frameworks.
  • rk rao

    rk rao

    @rk-rao-XDlYMf Aug 27, 2012

    #-Link-Snipped-#
  • Varunjoshi22

    Varunjoshi22

    @varunjoshi22-NgWjZ1 Feb 2, 2016

    Hi i want to integrate chat functionality using xmpp(openfire) in php.
  • iamguley

    iamguley

    @iamguley-PiKJm6 Jul 16, 2016

    hi.i need peer to peer chat function..when a new message arrive it should be display in chatbox...can u help me out
  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Jul 16, 2016

    iamguley
    hi.i need peer to peer chat function..when a new message arrive it should be display in chatbox...can u help me out
    Do you want a ready-made application or need help with the code?
  • vanita saini

    vanita saini

    @vanita-saini-C8HjMd Jun 3, 2017

    Hello,
    anyone can provide me code of openfire one to one chat with rest api.
  • PraveenKumar Purushothaman

    PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Jun 3, 2017

    vanita saini
    Hello,
    anyone can provide me code of openfire one to one chat with rest api.
    Do you want a ready-made application or need help with the code?
  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Jun 3, 2017

    #-Link-Snipped-# - Try searching for Ratchet; it's a php library that lets you build real-time chat software. You can go through the example they've provided for chat.
  • vanita saini

    vanita saini

    @vanita-saini-C8HjMd Jun 4, 2017

    Praveen-Kumar
    Do you want a ready-made application or need help with the code?
    I want to ready mate php code, so that i can implement on my website. if you have please provide me
  • oliver russell

    oliver russell

    @oliver-russell-Bcf1J6 Feb 19, 2018

    maninellai
    hi all,
    i want to create a gmail/facebook like chat application in php, can any one help me to do that, while searching in google ,i diidnt get anything
    You can use PHP, AJAX and Pusher for creating a real time chat application, just like FB or gmail. Here is a tutorial for that: <a href="https://www.cloudways.com/blog/real-time-chat-app-php/" target="_blank" rel="nofollow noopener noreferrer">Create a realtime chat application using Pusher</a>
  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Feb 19, 2018

    #-Link-Snipped-# - Thanks. The only problem with Pusher is that it's free only up to 100 simultaneous connections. My specific app would need at least 300 simultaneous connections. Maybe I should start exploring possible uses of Redis server.