Simple Realtime Notification System Using PHP, Node and Socket.io

A simple Realtime Notification System using PHP, NodeJS and Socket.io.

Requirements

  1. PHP
  2. Node Js

It will be helpful if your application is on native php and want to implement Realtime Notification System using node and socket.io

Directory Structure

.
+--_ajax
   +--insertNewMessage.php //For inserting new Message or Notification
   +--readNotification.php //For Marking the notification read
+--_class
   +--Database.class.php // Database connection
   +--HelperClass.php //Helper class 
   +--install.php //for installing the table 
+--_css ( Required all Css Files )
+--_js
   +--_node_modules( Containing all node module files )
   +--bootstrap.min.js
   +--jquery.min.js 
   +--nodeClient.js //Handling all client side request and actions
   +--nodeServer.js //Noder server which handles realtime socket 
   +--pnotify.min.js //for desktop and custom notifications
+index.php //Home page

Instructions

Download the zip and follow the instructions mentioned in the README.md file.

Real_Time_Notification