Download the PHP package serkin/ymlparser without Composer
On this page you can find all versions of the php package serkin/ymlparser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download serkin/ymlparser
More information about serkin/ymlparser
Files in serkin/ymlparser
Download serkin/ymlparser
More information about serkin/ymlparser
Files in serkin/ymlparser
Vendor serkin
Package ymlparser
Short Description Parser for yml(yandex.market.ru) files
License MIT
Homepage https://github.com/serkin/ymlparser
Package ymlparser
Short Description Parser for yml(yandex.market.ru) files
License MIT
Homepage https://github.com/serkin/ymlparser
Please rate this library. Is it a good library?
Informations about the package ymlparser
YML Parser
Parser for yml(yandex.market.ru) files.
YMLParser out of box uses two types of parsing:
- XMLReader - for medium and large xml files
- SimpleXML - for small xml files
Installation
via Composer:
Usage
Getting all offers from file
Getting all offers from file with applied filter
YMLParser::getOffers() can take filter function as an argument. Filter should be an anonymous function which returns true or false
Dependencies
- PHP: >= 5.5
- xmlrpc extension
- mbstring extension
Contribution
- Send a pull request
Licence
- MIT
TODO
- getCurrencies()
- setDefaultCurrency()
- Offers price according set defaultCurrency
Tests
It is extensible
You can create your own Driver. All you have to do is to implement YMLParser\Driver\DriverInterface interface in your class
All versions of ymlparser with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
ext-xmlrpc Version *
ext-mbstring Version *
ext-xmlrpc Version *
ext-mbstring Version *
The package serkin/ymlparser contains the following files
Loading the files please wait ....