Real-Time Chat Application in PHP CodeIgniter with Source Code

A fully functional project based on Real Time Chat Application which uses PHP Language with CodeIgniter Web Framework. Following PHP CodeIgniter project contains all the top essential features which can be in use for the second year, final year IT students for their college projects. It has a number of features that will allow users to chat in real-time. This system as well as the web application’s concept is all clear, it’s the same as other messaging applications and well-implemented on it. To download free Real Time Chat Application project in PHP CodeIgniter Framework with source code files, please scroll down to the bottom of this post for the Download button.

About Real Time Chat Application PHP Project

Moving on, this chat application project in PHP CodeIgniter focuses mainly on dealing with real-time chatting. Also, the system displays all the available users and their profiles. In addition, the system allows managing profiles by entering their d.o.b, contact, bio. There’s no Admin Panel in this project. In an overview of this web application, a user can simply register and start using it. Here, the system displays all the registered users with whom a user can chat. This chat application in PHP project requires a stable internet connection in order to work properly. Low internet connection users will face certain difficulties while operating with it.

Real-Time Chat, Active Status and Block/Unblock Users

The main thing about this whole project is that each and every message transfers in real-time. Meaning, the user does not have to keep on refreshing the tab in order to view the messages. There is a certain limit while sending messages. This limit means a user cannot send 200+ words of messages at a single time. Additionally, this application also changes the state of the user as soon as he/she gets online or offline in real-time. It contains active moments to display the last online date and time to the users. On the other hand, a user can simply block any of the users. The blocked user won’t be able to receive or send any message until he/she unblocks. This whole block/unblock process is similar to the messenger.

Last but not least, a clean and simple dashboard is presented with various color combinations for greater user experience while using this Realtime Chat Application Project in PHP MySQL CodeIgniter Framework. For its UI elements, a free open-source CSS framework; Bootstrap is on board with some Vanilla CSS too. Presenting a new Real Time Chat Application Project in PHP MySQL CodeIgniter which includes a user panel that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:

  • User Panel
  • Realtime Chatting
  • Active Status
  • View Last Moment
  • Update Profile and Bio
  • Block/Unblock Users
  • Send Private Mail
Project Name:Real-Time Chat Application
Technologies Used:PHP with Ajax, jQuery & CodeIgniter Framework
PHP version (Recommended):7.1.0 or Newer
Database:MySQL
Type:Web Application
Developer:Argha Paul
Updates:0
Realtime Chat Application PHP Project Information

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
  • There you’ll find a folder naming “htdocs”.
  • Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
  • Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
  • Then, go to URL “http://localhost/phpmyadmin“.
  • Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
  • Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
  • After setting up all these, go to URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“
  • All the login details are provided inside the project folder, check that out and enter in order to use it.

And there you have it, a full setup of the Real-Time Chat Application project in PHP CodeIgniter. For this particular PHP project, PHP Version 7.1.0 or Newer is required because the project won’t operate with the oldest PHP version. So, users with the oldest PHP version (less than 7.1) might face various problems while operating it. As a result, you’ll need to upgrade your PHP version (only if you’re using the oldest version) at the moment. Download Free Real Time Chat Application Project in PHP MySQL CodeIgniter Source Code. So, this real time chat application PHP project is a fully functional project for all the intermediate levels that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.

Free Download Real Time Chat Application Project in PHP MySQL CodeIgniter with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose

58 comments

          1. we are getting a lot of php errors on the page. I’ve just copied one error.

            A PHP Error was encountered
            Severity: 8192

            Message: Creation of dynamic property CI_URI::$config is deprecated

            Filename: core/URI.php

            Line Number: 101

            Backtrace:

            File: C:\xampp\htdocs\rtchat-ci\index.php
            Line: 314
            Function: require_once

  1. Hi, does it have features like sending pictures and stickers?? I’m looking for a chat widget that can do that, if you have, i’ll buy it. Thanks

  2. Hello my friend great work .why messages are not support utf-8 characters it shows ????? . how to fix this. Thanks

  3. An uncaught Exception was encountered
    Type: ParseError

    Message: syntax error, unexpected ‘)’

    Filename: C:\xampp\htdocs\rtchat-ci\application\controllers\Message.php

    Line Number: 64

    Backtrace:

    File: C:\xampp\htdocs\rtchat-ci\index.php
    Line: 315
    Function: require_once

        1. Not quite sure about that, but that might be due to the LATEST version of PHP. This project was only tested with PHP 7.4 where it works well as shown in the demo video.

      1. same errors but a lot in number for me. i just downloaded and unzipped to htdocs. created and imported the databases. when i enter localhost/rtchat-ci instead of opening the index.php i’m getting all of these errors.

  4. Error!

    A PHP Error was encountered

    Severity: Warning
    Message: move_uploaded_file(./upload/adcc16cf.png): failed to open stream: Permission denied
    Filename: controllers/Authenticate.php
    Line Number: 55
    Backtrace:…………………..

          1. I just changed the source code from localhost/rtchat_ci to localhost, other than that I didn’t change anything, what should I do now. Please help me, please

          2. No idea regarding changing the URL from one to another in such projects. If the project folder name was changed, it could’ve been configured easily. But, your case seems different. If you can, please use the instructed/previous way.

      1. A PHP Error was encountered
        Severity: 8192

        Message: Creation of dynamic property CI_URI::$config is deprecated

        Filename: core/URI.php

        Line Number: 101

        Backtrace:

        File: C:\xampp\htdocs\rtchat-ci\index.php
        Line: 315
        Function: require_once

  5. Please how can I solve this ?
    A PHP Error was encountered
    Severity: 8192

    Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice………………………

    1. This looks like an error coming from your LATEST version of PHP. This particular project is tested only with PHP 7, so the latest PHP 8 might create these problems. Still, you can find related solutions for these problems online!

  6. An uncaught Exception was encountered
    Type: mysqli_sql_exception

    Message: Unknown database ‘chatigniter’

    Filename: C…………………………..
    how can i solve this problem

  7. Can you please assist me on how to login in 2 different accounts at the same time? because everytime i tried, the other account will always be deactive, i want to send from 2 different accounts just like your demo video, thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *