Skip to content
/ xbrl Public
forked from adrianclay/xbrl

A simple API to parse XBRL taxonomies in PHP.

License

Notifications You must be signed in to change notification settings

aust6512/xbrl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XBRL

Build Status

A simple API to parse XBRL taxonomies in PHP.

Usage

A taxonomy is a set of XML files:

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

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

About

A simple API to parse XBRL taxonomies in PHP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 73.2%
  • PHP 26.8%