2017 © Pedro Peláez
 

library bibliomundi-onix-parser

Parser for Onix >=2.0

image

magrao/bibliomundi-onix-parser

Parser for Onix >=2.0

  • Tuesday, April 11, 2017
  • by xxMAGRAOxx
  • Repository
  • 4 Watchers
  • 4 Stars
  • 101 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Bibliomundi-Onix-Parser

PHP Library to convert XML Onix into PHP Objects., (*1)

Requirements

  • XML Onix 2.0 >
  • PHP 5.4 >

Install

Simple require the autoload.php file that is inside the src folder. Ex: include"src/autoload.php"., (*2)

If you user composer simple require magrao/bibliomundi-onix-parse., (*3)

Usage

$parser = new BBMParser\OnixParser($xmlOnix);, (*4)

//If you prefer load from file, (*5)

$parser = new BBMParser\OnixParser('/var/www/xml_onix.xml', true);, (*6)

//Loop for all products, (*7)

foreach($parser->getOnix()->getProducts() as $product);, (*8)

//Loop for all only available for sell products, (*9)

foreach($parser->getOnix()->getProductsAvailable() as $productAvailable);, (*10)

Docs

Coming soon..., (*11)

The Versions

11/04 2017

dev-master

9999999-dev https://github.com/bibliomundi/Bibliomundi-Onix-Parser

Parser for Onix >=2.0

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

parser onix

06/02 2017

dev-carlos

dev-carlos

Parser xml onix into php Object

  Sources   Download

The Requires

  • php ^5.3.3