PHPackages                             andrey-helldar/yandex-goods-prices - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. andrey-helldar/yandex-goods-prices

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

andrey-helldar/yandex-goods-prices
==================================

Simple Yandex Markup Generator for Online Stores.

v1.6.1(5y ago)33.8kMITPHPPHP &gt;=7.1.3|^8.0

Since Mar 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/TheDragonCode/yandex-goods-prices)[ Packagist](https://packagist.org/packages/andrey-helldar/yandex-goods-prices)[ Fund](https://money.yandex.ru/to/410012115955701)[ Fund](https://paypal.me/helldar)[ RSS](/packages/andrey-helldar-yandex-goods-prices/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (8)Dependencies (5)Versions (15)Used By (0)

Yandex Goods Prices
===================

[](#yandex-goods-prices)

[![Yandex Goods Prices](https://camo.githubusercontent.com/c76fba8b5d3cfc8e4c3154cfb19c621c1430e5dee5e025e41e012a60e35ca5ff/68747470733a2f2f707265766965772e647261676f6e2d636f64652e70726f2f546865447261676f6e436f64652f79616e6465782d676f6f64732d7072696365732e7376673f6272616e643d6c61726176656c)](https://camo.githubusercontent.com/c76fba8b5d3cfc8e4c3154cfb19c621c1430e5dee5e025e41e012a60e35ca5ff/68747470733a2f2f707265766965772e647261676f6e2d636f64652e70726f2f546865447261676f6e436f64652f79616e6465782d676f6f64732d7072696365732e7376673f6272616e643d6c61726176656c)

 [![StyleCI](https://camo.githubusercontent.com/5ae4212fbd6d9d636b1c5e27cba5065c4cffa9895010eaf2f9730d14fd290b53/68747470733a2f2f7374796c6563692e696f2f7265706f732f3137383030323038332f736869656c64)](https://styleci.io/repos/178002083) [![Total Downloads](https://camo.githubusercontent.com/d48d5528355d2a75d8ff115ef12b8635be46f01e3a1268e8bb96b30d55cf50ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e647265792d68656c6c6461722f79616e6465782d676f6f64732d7072696365732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andrey-helldar/yandex-goods-prices) [![Latest Stable Version](https://camo.githubusercontent.com/21d94d7f0fdb5031b3c1227f322c0249bc401c14c160900f2822ad3ec433af89/68747470733a2f2f706f7365722e707567782e6f72672f616e647265792d68656c6c6461722f79616e6465782d676f6f64732d7072696365732f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/andrey-helldar/yandex-goods-prices) [![Latest Unstable Version](https://camo.githubusercontent.com/e422d2ed810b0beaee02ef1ee9900310c320c1000456929ff08f787ff9f49172/68747470733a2f2f706f7365722e707567782e6f72672f616e647265792d68656c6c6461722f79616e6465782d676f6f64732d7072696365732f762f756e737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/andrey-helldar/yandex-goods-prices) [![Travis CI](https://camo.githubusercontent.com/3f9a11772cd815de7150e759e606a7c62ce67a64d7c830c5463bf4a720a5978f/68747470733a2f2f7472617669732d63692e6f72672f616e647265792d68656c6c6461722f79616e6465782d676f6f64732d7072696365732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/andrey-helldar/yandex-goods-prices) [![License](https://camo.githubusercontent.com/caf849487eeaa6845690147fbea8717fb792a1f0f6f22fe067a3b9a09e8198f3/68747470733a2f2f706f7365722e707567782e6f72672f616e647265792d68656c6c6461722f79616e6465782d676f6f64732d7072696365732f6c6963656e73653f666f726d61743d666c61742d737175617265)](LICENSE)

Installation
------------

[](#installation)

To get the latest version of Laravel Yandex Goods Prives package, simply require the project using [Composer](https://getcomposer.org):

```
composer require andrey-helldar/yandex-goods-prices

```

Instead, you may of course manually update your require block and run `composer update` if you so choose:

```
{
    "require": {
        "andrey-helldar/yandex-goods-prices": "^1.0"
    }
}
```

If you don't use auto-discovery, add the `ServiceProvider` to the providers array in `config/app.php`:

```
Helldar\Yandex\GoodsPrices\ServiceProvider::class,
```

You can also publish the config file to change implementations (ie. interface to specific class):

```
php artisan vendor:publish --provider="Helldar\Yandex\GoodsPrices\ServiceProvider"

```

Using
-----

[](#using)

```
$currency = app('yandex_goods_prices')->currency()->id('RUB')->rate(2);
$category = app('yandex_goods_prices')->category()->id(1)->name('foo');

$offer = app('yandex_goods_prices')->offer()->other()
    ->id(1234)
    ->available()
    ->categoryId(2)
    ->countryOfOrigin('Россия')
    ->currencyId('USD')
    ->delivery(true)
    ->deliveryOptions(200)
    ->description('foo')
    ->downloadable(true)
    ->manufacturerWarranty('foo')
    ->model('bar')
    ->price(200)
    ->salesNotes('foo')
    ->typePrefix('foo')
    ->url('http://example.com')
    ->vendor('FOO')
    ->vendorCode('foo');

app('yandex_goods_prices')->service()
    ->categories($category, $category)
    ->currencies($currency)
    ->offers($offer)
    ->name('foo')
    ->company('bar')
    ->url('http://example.com')
    ->save();
```

Saved as:

```

DOCTYPE yml_catalog SYSTEM "shops.dtd">

        bar
        foo
        http://example.com

            foo
            foo

                2
                Россия
                2
                true
                200
                foo
                true
                foo
                bar
                200
                foo
                foo
                http://example.com
                FOO
                foo

```

You can also use an array for a `categories()`, `currencies()` and `offers` methods:

```
$currencies = [];

for ($i = 0; $i < 10; $i++) {
    $currency = app('yandex_goods_prices')->currency()->id('USD')->rate($i);

    array_push($currencies, $currency);
}

app('yandex_goods_prices')->service()
    ->categories($category_1, $category_2, $categories)
    ->currencies($currency_rur, $currencies)
    ->offers($offers, $offer_1, $offer_2)
    // ...
```

You can also see the implementation in the [tests](tests) and read the [official documentation](https://yandex.ru/support/webmaster/goods-prices/technical-requirements.html).

### Available offer types

[](#available-offer-types)

- AudioBook
- Book
- EventTicket
- Music
- Tour
- Video
- Other

To access a type with methods available to it, use the call:

```
app('yandex_goods_prices')->offer()->audioBook()

app('yandex_goods_prices')->offer()->book()

app('yandex_goods_prices')->offer()->eventTicket()

app('yandex_goods_prices')->offer()->music()

app('yandex_goods_prices')->offer()->tour()

app('yandex_goods_prices')->offer()->video()

app('yandex_goods_prices')->offer()->other()
```

License
-------

[](#license)

This package is licensed under the [MIT License](LICENSE).

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~53 days

Recently: every ~122 days

Total

13

Last Release

2009d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.1.3

v1.6.0PHP &gt;=7.1.3|^8.0

### Community

Maintainers

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

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (29 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (21 commits)")[![andrey-helldar](https://avatars.githubusercontent.com/u/10347617?v=4)](https://github.com/andrey-helldar "andrey-helldar (12 commits)")

---

Tags

shoppricesseoyandexpricee-shopseo optimizedgoodsgoods-prices

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/andrey-helldar-yandex-goods-prices/health.svg)

```
[![Health](https://phpackages.com/badges/andrey-helldar-yandex-goods-prices/health.svg)](https://phpackages.com/packages/andrey-helldar-yandex-goods-prices)
```

###  Alternatives

[livewire/livewire

A front-end framework for Laravel.

23.6k89.0M2.5k](/packages/livewire-livewire)[symfony/ux-notify

Native notification integration for Symfony

1291.7k](/packages/symfony-ux-notify)

PHPackages © 2026

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