ext.php is no longer required. Use instead composer.json to detect the root directory.