PHPackages                             php-programmist/yandex-turbo-rss-generator-bundle - 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. [API Development](/categories/api)
4. /
5. php-programmist/yandex-turbo-rss-generator-bundle

ActiveSymfony-bundle[API Development](/categories/api)

php-programmist/yandex-turbo-rss-generator-bundle
=================================================

Bundle for Sumfony 4-5 for generation RSS feed for Yandex Turbo pages.

v1.0.2(4y ago)0121MITPHPPHP ^7.2.5 || 8.\*

Since Apr 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/php-programmist/yandex-turbo-rss-generator-bundle)[ Packagist](https://packagist.org/packages/php-programmist/yandex-turbo-rss-generator-bundle)[ RSS](/packages/php-programmist-yandex-turbo-rss-generator-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (10)Versions (4)Used By (0)

YandexTurboRssGeneratorBundle
=============================

[](#yandexturborssgeneratorbundle)

This bundle for Sumfony 4-5 provides service witch allow you to generate RSS feed for Yandex Turbo pages.

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

[](#installation)

```
composer require php-programmist/yandex-turbo-rss-generator-bundle
```

Before use follow Configuration section instructions

Configuration
-------------

[](#configuration)

Create file config/packages/yandex\_turbo\_rss\_generator.yaml:

```
yandex_turbo_rss_generator:
    yandex_id: 12345678
    language: 'ru-RU'
    date_format: 'Y-m-d\TH:i:sP'
```

In param yandex\_id you need to specify ID of your Yandex.Metrika counter for current site

date\_format - is string of date format for PHP function **date**

Usage
-----

[](#usage)

First you need to create class that implements PhpProgrammist\\YandexTurboRssGeneratorBundle\\Adapters\\RssAdapterInterface. That class must implement method **getItems**, which provides array of **RssItem** objects. Each **RssItem** objects corresponds to one turbo-page.

You may want extend PhpProgrammist\\YandexTurboRssGeneratorBundle\\Adapters\\RssBaseAdapter class.

Example of adapter:

```
//src/Adapter/RssContentAdapter.php
namespace App\Adapter;

use App\Entity\Content;
use PhpProgrammist\YandexTurboRssGeneratorBundle\Adapters\BasePageInterface;
use PhpProgrammist\YandexTurboRssGeneratorBundle\Adapters\RssBaseAdapter;
use PhpProgrammist\YandexTurboRssGeneratorBundle\RssItem;

class RssContentAdapter extends RssBaseAdapter
{
    protected function adapt(array $original_items, BasePageInterface $base_page)
    {
        /** @var Content $original_item */
        foreach ($original_items as $original_item) {
            $item = new RssItem(
                $original_item->getId(),
                $original_item->getPath(),
                $original_item->getName(),
                $original_item->getDate(),
                $original_item->getText()
            );
            $item->setAllBreadcrumbs('Home',$base_page);
            $this->addItem($item);
        }
    }
}
```

This adapter can transform collection of Content entities ($original\_items) to array of **RssItem**.

Also you need create BasePage object (PhpProgrammist\\YandexTurboRssGeneratorBundle\\Adapters\\BasePage) with information about **parent** of turbo-pages. You need to specify Title, Description and Path to parent-page

```
//src/Controller/NewsController.php
namespace App\Controller;

use PhpProgrammist\YandexTurboRssGeneratorBundle\Adapters\BasePage;
use PhpProgrammist\YandexTurboRssGeneratorBundle\YandexTurboRssGenerator;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;

class NewsController extends AbstractController
{
    /**
     * @Route("/news/rss.xml", name="news_rss")
     */
    public function rss(ContentRepository $content_repository)
    {
        $items     = $content_repository->findAll();
        $base_page = new BasePage('News','Channel description','/news/');
        $adapter   = new RssNewsAdapter($items, $base_page);

        return $this->rss_generator->render($adapter, $base_page);
    }
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Every ~280 days

Total

3

Last Release

1675d ago

PHP version history (2 changes)v1.0.0PHP ^7.2.5

v1.0.2PHP ^7.2.5 || 8.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/07e3ab29acd8788165afbc668a0206c6158dde468cb6c26dd0cd8d8b35e00b1a?d=identicon)[php-programmist](/maintainers/php-programmist)

---

Top Contributors

[![php-programmist](https://avatars.githubusercontent.com/u/6253250?v=4)](https://github.com/php-programmist "php-programmist (8 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/php-programmist-yandex-turbo-rss-generator-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/php-programmist-yandex-turbo-rss-generator-bundle/health.svg)](https://phpackages.com/packages/php-programmist-yandex-turbo-rss-generator-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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