めも。
1, ロードしたいクラスファイルを「/app/Vendor」以下に配置。
2, 「bootstrap.php」に下記を記述
spl_autoload_register(function($class) {
foreach(App::path('Vendor') as $base) {
$path = $base . str_replace('\\', DS, $class) . '.php';
if(file_exists($path)) {
return include $path;
}
}
});