PHP Social Messenger is a real-time messaging application that allows users to chat with each other, edit profiles, and manage contacts. It offers a user-friendly interface for sending & receiving messages, handling blocked users, and managing profiles. Built with PHP, MySQL, and JavaScript (AJAX), it ensures smooth real-time interactions. The app also includes a RESTful API for seamless integration with other services.
β
Instant updates: Messages appear instantly without refreshing.
β
Message status: Shows the last sender and unread message count.
β
Message actions: Users can edit, delete, or copy their own messages.
π€ Username | π Password | π Description |
---|---|---|
iqbolshoh |
IQBOLSHOH |
Developer |
client |
IQBOLSHOH |
Test User One |
user_3 |
IQBOLSHOH |
Test User Two |
β
Edit profile: Update your profile picture, name, and password.
β
View profile: See details of the person you are chatting with.
β
Find contacts easily using the dynamic search bar.
β
Manage contacts & see unread messages on the homepage.
β
Block people from sending you messages.
β
Blocked notifications: Users get alerts if they try to message someone who blocked them.
β
Easily accessible block menu in the chat interface.
β
Full message history when opening a chat.
β
Delete or copy your own messages.
β
Real-time syncing for a smooth messaging experience.
β
View profile of the person youβre chatting with.
β
Clear chat history with a specific user.
β
Block user to prevent them from messaging you.
Follow these steps to set up PHP Social Messenger on your local server:
git clone https://github.com/Iqbolshoh/php-social-messenger.git
cd php-social-messenger
- Create a new MySQL database:
CREATE DATABASE social_messenger;
- Import the database schema:
mysql -u yourusername -p social_messenger < db/database.sql
- Open
config.php
and update your database credentials:define("DB_SERVER", "localhost"); define("DB_USERNAME", "root"); define("DB_PASSWORD", ""); define("DB_NAME", "social_messenger");
- Deploy on a PHP-compatible server (e.g., Apache, Nginx).
- Open your browser and go to:
http://localhost/php-social-messenger
This project is open-source and available under the MIT License.
π― Contributions are welcome! If you have suggestions or want to enhance the project, feel free to fork the repository and submit a pull request.
π¬ I love meeting new people and discussing tech, business, and creative ideas. Letβs connect! You can reach me on these platforms: