CodeIgniter 4 Real Time Chat App using WebSockets

Опубликовано: 27 Октябрь 2024
на канале: Alex Lancer
45,232
690

In this CodeIgniter 4 tutorial we will develop a real-time chat application using WebSockets and Ratchet PHP Library. You will learn how you can use WebSockets in PHP, check online users connections, receive and send messages to the chat room.

This project will help you dive even more into CI4 but also learn how to use other PHP libraries via Composer for your needs.
This CodeIgniter 4 Chat Tutorial will give you the basis upon which you will be able to continue developing your own chat application in CodeIgniter 4.

GitHub repository for the full project:
https://github.com/alexlancer/Codeign...

GitHub repository for helper files:
https://github.com/alexlancer/Codeign...

Some of the improvements that can be done are:
Store messages into the database
Retrieve messages from the database
Create one-to-one sessions
Create Group chats



Link to CodeIgniter 4 Simple Blog Tutorial Part 1:
   • CodeIgniter 4 Tutorial - Simple Blog ...  

Link to Codeigniter 4 User Login Tutorial Part 1:
   • CodeIgniter 4 User Login Tutorial - P...  

Ratchet Docs: http://socketo.me/docs/hello-world