Skip to main content

Simple Social Networking Site Like Instagram in PHP/OOP Free Source Code

Language

Introduction

This simple project is a Social Networking Site. This is a web-based application project developed in PHP and MySQL Database. This is project is inspired by the famous Instagram Site/Application. The application consists of the most used or common features in a social networking site and of course since this project is inspired by Instagram, posting images is also included. This project was developed with Bootstrap Framework and AdminLTE Template. It consists of user-friendly features and functionalities.

About the Social Networking Site

I developed this project using the following:

  • XAMPP v3.3.0
  • PHP
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • Ajax
  • jQuery
  • Bootstrap
  • Font Awesome
  • AdminLTE
  • DropZone

This Social Networking Site can be accessed by the Site's Management and the Public. The users can simply register their account by filling in all the required fields on the registration form. In this project, all users can explore all the posts of all other users on the home page. Each of the users is allowed to like or unlike posts, navigate posts images, and leave comments. The users can simply upload an image they wanted to post along with a brief caption about his/her post. Here, users can also list all of his/her posts on the profile page. Posts and comments can be only deleted by the persons who posted. On the Admin Site, site management can manage the list of posts, users, and system information. The management can also update the system name, logo, and banner images. The site management also has permission to delete a post.

Features

Management Site

  • Home Page
    • Display the summary.
  • Member Management
    • List All Members
    • View Member Details
    • Delete Member
  • Post Management
    • List All Posts
    • View Post Details
    • Delete Post
  • User Management
    • Add New User
    • List All Users
    • View User Details
    • Edit User Details
    • Delete User Details
  • Update System Information
  • Update Account Details/Credentials
  • Login and Logout

Public Site

  • Login and Registration
  • Home Page/Posts Feed
  • Post Form Modal
  • Drag and Drop File
  • Post Details
  • Like/Unlike Posts
  • Leave Comments to a Post
  • Profile Page
  • Member's List of Posts
  • Update Account Credentials
  • Logout

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features

Management Site Dashboard

Social Networking Site

Registration Form Page

Social Networking Site

Login Page

Social Networking Site

Home Page

Social Networking Site

Post Form Modal

Social Networking Site

Post Details

Social Networking Site

Profile Page

Social Networking Site

How to Run ??

Requirements

System Installation/Setup

  1. Enable the GD Library in your php.ini file.
  2. Open your XAMPP Control Panel and start Apache and MySQL.
  3. Extract the downloaded source code zip file.
  4. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  5. Extract the downloaded plugins zip file.
  6. Copy the extracted plugins folder and paste it into the source code root path.
  7. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  8. Create a new database naming sns_db.
  9. Import the provided SQL file. The file is known as sns_db.sql located inside the database folder.
  10. Browse the Social Networking Site in a browser. i.e. http://localhost/sns/.

Admin Default Access:

Username: admin
Password: admin123

DEMO VIDEO

That's it. You can now explore the features and functionalities of this Social Networking Site in PHP. I hope this will help you with what you are looking for and you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment