Skip to content

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

License

Notifications You must be signed in to change notification settings

begicf/areport-dpm-xbrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages