<?php
require_once dirname(__DIR__).'/core/ModuleDiscovery.php';
header('Content-Type: application/json');
echo json_encode((new ModuleDiscovery())->scan(dirname(__DIR__)),JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE);
