getExtension() != 'php') { continue; } include_once $file->getRealPath(); } } $app->get('[/]', API::class);