PHPackages                             orangeshadow/tovari-mailru - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. orangeshadow/tovari-mailru

ActiveLibrary[File &amp; Storage](/categories/file-storage)

orangeshadow/tovari-mailru
==========================

Создание XML Прайс листа для выгрузки в Товары mail.ru

227PHP

Since Jan 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/orangeShadow/tovari-mailru)[ Packagist](https://packagist.org/packages/orangeshadow/tovari-mailru)[ RSS](/packages/orangeshadow-tovari-mailru/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

tovari-mailru
=============

[](#tovari-mailru)

Создание XML Прайс листа для выгрузки в Товары mail.ru

Более подробную информацию о возможных параметрых читайте на [http://torg.mail.ru/info/122/#torg\_price](http://torg.mail.ru/info/122/#torg_price)

```
$array = [
    "name"       => "Магазин на Диване",
    "company"    => 'ООО "Рога и копыта"',
    "url"        => 'http://example.ru',
    "currencies" => [
        ["id" => "RUR", "rate" => 1]
    ],
    "categories" => [
        [
            "name" => "Обувь",
            "id"   => 1,
        ],
        [
            "name"     => "Кроссовки",
            "id"       => 2,
            "parentId" => 1
        ]
    ],
    "offers"     => [
        [
            "id"        => "11",
            "model"     => "Samsung XD3343",
            "available" => true,
            "vendor"    => "Samsung",
            "url"       => "http://example.ru/catalog/samsung-XD3343",
            "price"     => 5000,
            "description"=>'Некое описание товара'
        ]
    ]
];

$cleanFunction = function($value,$key){
    return htmlentities($value);
};

$dom = new OrangeShadow\TovariMailRu\CreateXML($array,$cleanFunction);

//Вывод xml
echo $dom
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4120588e8ae9158b9dd8078c244aff1afa25814679b9cec2cb13dca4f2e7346?d=identicon)[orangeshadow](/maintainers/orangeshadow)

---

Top Contributors

[![orangeShadow](https://avatars.githubusercontent.com/u/1313470?v=4)](https://github.com/orangeShadow "orangeShadow (13 commits)")

### Embed Badge

![Health badge](/badges/orangeshadow-tovari-mailru/health.svg)

```
[![Health](https://phpackages.com/badges/orangeshadow-tovari-mailru/health.svg)](https://phpackages.com/packages/orangeshadow-tovari-mailru)
```

###  Alternatives

[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.7k](/packages/venveo-craft-compress)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
