Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat App Readme

Application Overview

Welcome to the Chat App! This messaging application is built using PHP, primarily targeting PHP 8 but designed to be compatible with PHP versions 5, 6, 7, and 8. The application works seamlessly with any MySQL Database that supports PHP 5 and above. The front end incorporates HTML5, CSS, and JavaScript to provide an interactive user experience. The codebase follows PHP Object-Oriented Programming (OOP) principles for a modular and organized structure.

Key Features

  • Programming Paradigm: The application is predominantly coded using PHP Object-Oriented Programming for a modular and organized codebase.

  • PHP Compatibility: The app is designed to work on PHP 5, 6, 7, and 8, providing flexibility for different server environments.

  • User Authentication:

  • Chat Features:

    • Users can send and receive messages.
    • Send images within the chat.
    • Reply to messages.
    • View active status.
  • Profile Management:

    • Users can update their profile information.
    • Change profile photo.
  • User Interaction:

    • Users can add other users as friends.
    • Block/unblock friends.
    • Search for friends.

Getting Started

  1. Clone the repository to your local machine.
  2. Configure the database information in the "config.php" file.
  3. Ensure your server environment supports PHP 5, 6, 7, or 8.

User Registration

New users can sign up by providing their email and choosing a password.

Sample User Accounts

For testing purposes, you can use the following sample user accounts:

Application Features

Explore the following features:

  • Chat:

    • Send and receive messages.
    • Share images.
    • Reply to messages.
    • View active status.
  • Profile:

    • Update profile information.
    • Change profile photo.
  • User Interaction:

    • Add friends.
    • Block/unblock friends.
    • Search for friends.

Database Configuration

Ensure the correct database information is set in the "config.php" file to establish a connection with the MySQL database.

// config.php
    $database = new Connection('database_host', 'database_username', 'database_password', 'database_name');

Disclaimer

This application is designed for educational and testing purposes. Implement security measures before deploying for real-world use. Enjoy chatting!

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages