begicf / areport-dpm-xbrl

AreportDpmXBRL is a package for parsing XBRL taxonomy which is created by DPM Architect.

Home Page:https://demo.areport.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AreportDPMXBRL

AreportDPMXBRL is library for parsing XBRL taxonomy, which is created by DPM Architect. This standard is recommended and implemented by EU regulators such as EBA and EIOPA.

Web application Areport use this library to parse XBRL taxonomy.

More information

Demo

Areport

Quick Start

Install the library using composer

composer require begicf/areport-dpm-xbrl
<?php

use AReportDpmXBRL\Library\Data;
use AReportDpmXBRL\Render;

//parse taxonomy
$tax = Data::getTax($table_path); //set table absolute path

//render HTML form
$render = new Render($tax);

    /*
     * @return array [
     *  'table' => (string) Table HTMl Form,
     *  'sheets' => (string)  Sheets HTML Form
     *  'tableName' => (string)  Table Name
     *  'aspectNode' => (bool)  Aspect Axis
     *  'tableID'=> (string)  Table ID
     *  'groups' => (string)  Table group
     * ]
     */

$HTMLForm = $render->renderHtmlForm();

?>

About

AreportDpmXBRL is a package for parsing XBRL taxonomy which is created by DPM Architect.

https://demo.areport.net/

License:Other


Languages

Language:PHP 100.0%