This is a simple chat analytics for whatsapp group.
- Clone this repository
- Get the txt file from your backup group chat, save it for later.
- Create the database, then set the configuration of the database in
Database.php
file - Create new file
require 'phpchat/Analytics.php';
$filename = 'path/to/data.txt' // Path to data
$data = new Analytics($filename);
$data->insertData();