View Feed
group-icon
PHP Programmers
Community for PHP Programmers : Ask questions, doubts and help each other get better at PHP
242 Members
Join this group to post and comment.
maninellai
maninellai • Mar 30, 2012

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 • Apr 2, 2012
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 • 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. 👍
way2ravi
way2ravi • Aug 28, 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
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 • Aug 28, 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?
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 • Feb 3, 2016
Hi i want to integrate chat functionality using xmpp(openfire) in php.
iamguley
iamguley • 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 • 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 • Jun 3, 2017
Hello,
anyone can provide me code of openfire one to one chat with rest api.
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 • Jun 3, 2017
@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 • 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 • 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: Create a realtime chat application using Pusher
Kaustubh Katdare
Kaustubh Katdare • Feb 19, 2018
@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 -