PHP code example of blainesch / li3_leaderboard

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

    

blainesch / li3_leaderboard example snippets


// ...
if(!lithium\core\Environment::is('production')) {
	Libraries::add('li3_leaderboard', array(
		'paths' => array(
			dirname(dirname(__DIR__)) . '/tests/',
		),
		'files' => array(
			'/Test\.php$/' => '/function test/',
			'/\.feature$/' => '/Scenario:/',
		),
	));
}
// ...