PHP code example of nabeghe / levex

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

    

nabeghe / levex example snippets


use Nabeghe\Levex\Levex;

$levex = Levex::instance();

use Nabeghe\Levex\Levex;

$options = ['baseLevelXp' => 50];
$levex = new Levex($options);