PHP code example of euphio / eph-chartbeat

1. Go to this page and download the library: Download euphio/eph-chartbeat 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/ */

    

euphio / eph-chartbeat example snippets



return array(
	'modules' => array(
		'EphChartbeat',
		'Application',
	),
);


return array(
    'chartbeat' => array(
        'domain'        => 'yourdomain.com',  // Your Domain
        'no_cookies'    => false,             // Disable Cookies?
        'path'          => '',                // Path override
        'uid'           => '1234',            // Your User id
        'use_canonical' => false              // Use canonical links?
    ),
);