2017 © Pedro Peláez
 

library xbrl

A simple API to parse XBRL taxonomies

image

adrianclay/xbrl

A simple API to parse XBRL taxonomies

  • Tuesday, September 22, 2015
  • by adrianclay
  • Repository
  • 5 Watchers
  • 13 Stars
  • 719 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 1 Open issues
  • 1 Versions
  • 11 % Grown

The README.md

XBRL

Build Status, (*1)

A simple API to parse XBRL taxonomies in PHP., (*2)

Usage

A taxonomy is a set of XML files:, (*3)

use adrianclay\xbrl\Taxonomy\Set;

$taxonomy = new Set;
$taxonomy->import( 'Path to taxonomy', 'farming.xsd' );
foreach( $taxonomy->getConcepts() as $concept ) {
    echo $concept->getNamespace(), ": ", $concept->getName(), "\n";
}

Might give, (*4)

http://www.example.com/farming/: CowsSlaughtered
http://www.example.com/farming/: CalvesBorn

The Versions

22/09 2015

dev-master

9999999-dev https://github.com/adrianclay/xbrl

A simple API to parse XBRL taxonomies

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

taxonomy xbrl