<?php

require __DIR__ . '/../src/autoload.php';
set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__ . '/class/');
$loader = new Riimu\Kit\ClassLoader\ClassLoader();
$loader->useIncludePath(true);
$loader->register();
var_dump(new Vendor\SimpleClass());
<?php

require __DIR__ . '/../src/autoload.php';
$loader = new Riimu\Kit\ClassLoader\ClassLoader();
$loader->addBasePath(__DIR__ . '/class/', 'Vendor');
$loader->register();
var_dump(new Vendor\SimpleClass());
<?php

require __DIR__ . '/../src/autoload.php';
$loader = new Riimu\Kit\ClassLoader\ClassLoader();
$loader->addPrefixPath(__DIR__ . '/class/', 'Vendor\\MyLib');
$loader->register();
var_dump(new Vendor\MyLib\OtherClass());