Skip to content

sirian/php-yml-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YandexMarketLanguage Parser

About

Yandex Market Language parser for PHP.

1. Installation

Add the sirian/yandex-market-language-parser package to your require section in the composer.json file.

$ composer require sirian/yandex-market-language-parser

2. Usage

use Sirian\YMLParser\Parser;

$parser = new Parser();
$result = $parser->parse($file);

$shop = $result->getShop();

foreach ($result->getOffers() as $offer) {
    // some logic
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages