2017 © Pedro Peláez
 

library ymlparser

YML (Yandex Market Language) parser

image

lireincore/ymlparser

YML (Yandex Market Language) parser

  • Sunday, July 15, 2018
  • by lireincore
  • Repository
  • 0 Watchers
  • 8 Stars
  • 2,508 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 15 Versions
  • 10 % Grown

The README.md

YML (Yandex Market Language) parser

Latest Stable Version Total Downloads License, (*1)

About

YML (Yandex Market Language) streaming parser with validation. Based on XMLReader. Suitable for large files., (*2)

Install

Add the "lireincore/ymlparser": "^3.2" package to your require section in the composer.json file, (*3)

or, (*4)

``` bash $ php composer.phar require lireincore/ymlparser, (*5)


## Usage ```php use LireinCore\YMLParser\YML; $yml = new YML(); try { $yml->parse($filepath); $date = $yml->getDate(); $shop = $yml->getShop(); if ($shop->isValid()) { $offersCount = $shop->getOffersCount(); $shopData = $shop->getData(); //... foreach ($yml->getOffers() as $offer) { if ($offer->isValid()) { $offerCategoryHierarchy = $shop->getCategoryHierarchy($offer->getCategoryId()); $offerData = $offer->getData(); //... } else { var_dump($offer->getErrors()); //... } } } else { var_dump($shop->getErrors()); //... } } catch (\Exception $e) { echo $e->getMessage(); //... }

License

The MIT License (MIT). Please see License File for more information., (*6)

The Versions

15/07 2018

dev-master

9999999-dev https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-xmlreader *

 

by lirein

parser yml yandex market

15/07 2018

3.2.7

3.2.7.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-xmlreader *

 

by lirein

parser yml yandex market

09/09 2017

3.2.6

3.2.6.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-xmlreader *

 

by lirein

parser yml yandex market

05/07 2017

3.2.5

3.2.5.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-xmlreader *

 

by lirein

parser yml yandex market

13/05 2017

3.2.4

3.2.4.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-xmlreader *

 

by lirein

parser yml yandex market

08/04 2017

3.2.3

3.2.3.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-xmlreader *

 

by lirein

parser yml yandex market

23/03 2017

3.2.2

3.2.2.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-xmlreader *

 

by lirein

parser yml yandex market

22/03 2017

3.2.1

3.2.1.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-xmlreader *

 

The Development Requires

by lirein

parser yml yandex market

12/12 2016

3.2.0

3.2.0.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5

 

by Avatar lireincore

parser yml yandex market

02/11 2016

3.1.0

3.1.0.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5

 

by Avatar lireincore

parser yml yandex market

03/10 2016

3.0.1

3.0.1.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Avatar lireincore

parser yml yandex market

28/09 2016

3.0.0

3.0.0.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Avatar lireincore

parser yml yandex market

16/09 2016

2.1.0

2.1.0.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Avatar lireincore

parser yml yandex market

12/09 2016

2.0.0

2.0.0.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Avatar lireincore

parser yml yandex market

02/09 2016

1.0.0

1.0.0.0 https://github.com/lireincore/ymlparser

YML (Yandex Market Language) parser

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

by Avatar lireincore

parser yml yandex market