maninellai
maninellai
Branch Unspecified
19 Feb 2018

One to one live chat application in php

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
greatcoder

greatcoder

Branch Unspecified
6 years ago
maninellai,
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

Computer Science
6 years ago
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. 👍
way2ravi

way2ravi

Branch Unspecified
6 years ago
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
6 years ago
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

Branch Unspecified
6 years ago
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?
6 years ago
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.
Varunjoshi22

Varunjoshi22

Branch Unspecified
3 years ago
Hi i want to integrate chat functionality using xmpp(openfire) in php.
iamguley

iamguley

Branch Unspecified
2 years ago
hi.i need peer to peer chat function..when a new message arrive it should be display in chatbox...can u help me out
2 years ago
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

Branch Unspecified
1 year ago
Hello,
anyone can provide me code of openfire one to one chat with rest api.
1 year ago
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?
1 year ago
@vanita saini - 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

Branch Unspecified
1 year ago
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

Branch Unspecified
1 year ago
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: Create a realtime chat application using Pusher
1 year ago
@oliver russell - 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.

Share this content on your social channels -

Only logged in users can reply.