PHP code example of mritunjay10 / chathelper

1. Go to this page and download the library: Download mritunjay10/chathelper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mritunjay10 / chathelper example snippets

 php

$config = array(
    'driver' 	=> 'mysql',
    'host' 		=> 'localhost',
    'database' 	=> 'chat',
    'username' 	=> 'root',
    'password' 	=> '',
    'charset' 	=> 'utf8',
    'collation'	=> 'utf8_general_ci'
);

$opr = new \Indilabz\Chat();