Download the PHP package and/yandex_yml without Composer

On this page you can find all versions of the php package and/yandex_yml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yandex_yml

sfYandexYML plugin

Some classes helping to create XML files for the Yandex.Market service. Description of the YML language http://partner.market.yandex.ru/legal/tt/.

Installation

Usage

[PHP]

// creating a YML document
$yml = new sfYandexYML(
    'My eShop',
    'OOO Roga&Kopita',
    'http://my-shop.com');

// creating categories
$cat1 = new sfYandexYMLCategory(1, 'T-shirts');
$cat2 = new sfYandexYMLCategory(2, 'Drinks');
$cat2 = new sfYandexYMLCategory(3, 'Vodka', 2); // child of Drinks

// adding categories to document
$yml->addCategory($cat1);
$yml->addCategory($cat2);
$yml->addCategory($cat3);

// creating a simple offer
$offer = new sfYandexYMLOffer_Model(1, true); // simple offer
$offer->country_of_origin = 'Russia';
$offer->currencyId = 'RUR';
$offer->categoryId = $cat3->getId();
$offer->delivery = true;
$offer->description = $product->getShortDescription();
$offer->downloadable=false;
$offer->local_delivery_cost = 200;
$offer->name = "Stolichnaya 0.5l";
$offer->picture = 'http://my-shop.com/pix/stolichnaya.jpg';
$offer->price = '329.99';
$offer->sales_notes = 'Design bottle';
$offer->url = 'http://my-shop.com/shop/drinks/stolichnaya05l.html';
$offer->vendor = 'OAO Kristall';
$offer->vendorCode = '12712-80';

// adding the offer to document
$yml->addOffer($offer);

$yml->generateYML(); // generate document
$yml_as_string =  $yml->saveYML(); // get YML as string

All versions of yandex_yml with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package and/yandex_yml contains the following files

Loading the files please wait ....