PHPackages                             sokolnikov911/yandex-turbo-pages-php5 - 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. sokolnikov911/yandex-turbo-pages-php5

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

sokolnikov911/yandex-turbo-pages-php5
=====================================

PHP5.4 Yandex Turbo Pages RSS feed generator

v1.1.2(7y ago)910.6k1[2 issues](https://github.com/sokolnikov911/yandex-turbo-pages-php5/issues)MITPHPPHP &gt;=5.4

Since Nov 27Pushed 7y ago3 watchersCompare

[ Source](https://github.com/sokolnikov911/yandex-turbo-pages-php5)[ Packagist](https://packagist.org/packages/sokolnikov911/yandex-turbo-pages-php5)[ Docs](https://github.com/sokolnikov91/yandex-turbo-pages-php5)[ RSS](/packages/sokolnikov911-yandex-turbo-pages-php5/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

PHP5 Yandex Turbo Pages RSS feed generator
==========================================

[](#php5-yandex-turbo-pages-rss-feed-generator)

[![Latest Stable Version](https://camo.githubusercontent.com/cd412a6daf2bacea36f64167f660a9305656d7a53b82ca7c69a4494d5bd92f9b/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f762f737461626c65)](https://packagist.org/packages/sokolnikov911/yandex-turbo-pages-php5) [![Total Downloads](https://camo.githubusercontent.com/4108c6b3aec3dc9630320ebbfde881758489f4638e2f89031435e9c85ca2b9fc/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f646f776e6c6f616473)](https://packagist.org/packages/sokolnikov911/yandex-turbo-pages-php5) [![Latest Unstable Version](https://camo.githubusercontent.com/91c04795dbe7d9ce1d34aefdf34528544b4d88c02c8e5fe41e442be095ae3ef5/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f762f756e737461626c65)](https://packagist.org/packages/sokolnikov911/yandex-turbo-pages-php5) [![composer.lock](https://camo.githubusercontent.com/bf9a74544d85804d8b519b6fd17af0f6bc4053f4ee19f1de031ee98652f7129c/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f636f6d706f7365726c6f636b)](https://packagist.org/packages/sokolnikov911/yandex-turbo-pages-php5) [![PHPPackages Rank](https://camo.githubusercontent.com/73d25a6685f86625ad2a1d15c6a46b6513f07319bf5631e057a2273e87a0ca04/687474703a2f2f7068707061636b616765732e6f72672f702f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f62616467652f72616e6b2e737667)](http://phppackages.org/p/sokolnikov911/yandex-turbo-pages-php5) [![PHPPackages Referenced By](https://camo.githubusercontent.com/ed53354a08809a2bc172ba92ba870d704e7f3c30ce2e52166cebc27aca73c85f/687474703a2f2f7068707061636b616765732e6f72672f702f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f62616467652f7265666572656e6365642d62792e737667)](http://phppackages.org/p/sokolnikov911/yandex-turbo-pages-php5)Travis CI[![Build Status](https://camo.githubusercontent.com/4b30b1a27d403e8046ff26795d3606c18238125356a8f44c5f038f34552a15bb/68747470733a2f2f7472617669732d63692e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sokolnikov911/yandex-turbo-pages-php5)Scrutinizer CI[![Build Status](https://camo.githubusercontent.com/10c2d73e6ead77a1f355e78c0262cca79614935819708117dff4e30e27f28417/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sokolnikov911/yandex-turbo-pages-php5/build-status/master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/e517bce8430c4c130fde7092e21eca55ffe2f4e380c2567703ee8b1f47d63402/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sokolnikov911/yandex-turbo-pages-php5/?branch=master) [![Code Coverage](https://camo.githubusercontent.com/625fafaebe62c2acdac7fa088baaff70f2268ce8fb6cc4466aa611897675f5fc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sokolnikov911/yandex-turbo-pages-php5/?branch=master)Russian version of README you can find here: [README\_RU.md](https://github.com/sokolnikov911/yandex-turbo-pages-php5/blob/master/README_RU.md).

Yandex Turbo Pages valid RSS feed generator for PHP5.4+.

Version for PHP7 or later you can find [here](https://github.com/sokolnikov911/yandex-turbo-pages).

Examples
--------

[](#examples)

This example you can find in `examples/example.php`

```
// creates Feed with all needed namespaces
$feed = new Feed();

// creates Channel with description and one ad from Yandex Ad Network
$channel = new Channel();
$channel
    ->title('Channel Title')
    ->link('http://blog.example.com')
    ->description('Channel Description')
    ->language('ru')
    ->adNetwork(Channel::AD_TYPE_YANDEX, 'RA-123456-7', 'first_ad_place')
    ->appendTo($feed);

// adds Google Analytics to feed
$googleCounter = new Counter(Counter::TYPE_GOOGLE_ANALYTICS, 'XX-1234567-89');
$googleCounter->appendTo($channel);

// adds Yandex Metrika to feed
$yandexCounter = new Counter(Counter::TYPE_YANDEX, 12345678);
$yandexCounter->appendTo($channel);

// creates first page of feed with link and enabled turbo, description and other content, and appends this page to channel
$item = new Item();
$item
    ->title('Thirst page!')
    ->link('http://www.example.com/page1.html')
    ->author('John Smith')
    ->category('Technology')
    ->turboContent('Some content here!Second content string.')
    ->pubDate(strtotime('Tue, 21 Aug 2012 19:50:37 +0900'))
    ->appendTo($channel);

// creates list of related pages
$relatedItemsList = new RelatedItemsList();

// adds link to first related page
$relatedItem = new RelatedItem('Related article 1', 'http://www.example.com/related1.html');
$relatedItem->appendTo($relatedItemsList);

// adds link to second related page with image
$relatedItem = new RelatedItem('Related article 2', 'http://www.example.com/related2.html',
    'http://www.example.com/related2.jpg');
$relatedItem->appendTo($relatedItemsList);

// appends list of related links to first page
$relatedItemsList
    ->appendTo($item);

// creates another one page with disabled turbo
$item = new Item(false);
$item
    ->title('Second page!')
    ->link('http://www.example.com/page2.html')
    ->author('John Smith')
    ->category('Technology')
    ->turboContent('Yet another content here!')
    ->pubDate(strtotime('Tue, 21 Aug 2012 19:50:37 +0900'))
    ->appendTo($channel);

// displays the generated feed
echo $feed;
```

For generating content for turbo items you can use `Content` helper. For example:

```
// generate header
$menuArray = [
    ['url' => 'http://example/page1.html', 'title' => 'Page title 1'],
    ['url' => 'http://example/page2.html', 'title' => 'Page title 2']
];
$header = Content::header('Main title', 'Second title',
    'http://example.com/image1.jpg', 'Image description', $menuArray);
```

At this time you can use helpers for generate next elements:

- page header including menu;
- image;
- images gallery;
- share buttons;
- link or phone button;
- comments;
- rating;
- accordion;
- video from own server;
- video from external server;
- ad block position element;
- media-content with slider;
- additional content block;
- search input.

Examples of using helpers you can find in `examples/content_helpers.php`.

Installing
----------

[](#installing)

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of **yandex-turbo-pages**

```
php composer.phar require sokolnikov911/yandex-turbo-pages-php5
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

You can then later update **yandex-turbo-pages** using composer:

```
composer.phar update
```

Requirements
------------

[](#requirements)

This Yandex Trurbo Pages RSS feed generator requires at least PHP5.4.

License
-------

[](#license)

[![License](https://camo.githubusercontent.com/1a3dfb8f94cc537e580a9e32a877d9d8d423bc6a5fb0b6204a0e4daf15ed54c8/68747470733a2f2f706f7365722e707567782e6f72672f736f6b6f6c6e696b6f763931312f79616e6465782d747572626f2d70616765732d706870352f6c6963656e7365)](https://packagist.org/packages/sokolnikov911/yandex-turbo-pages-php5)

This library is licensed under the MIT License.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 96.4% 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 ~59 days

Recently: every ~88 days

Total

7

Last Release

2735d ago

Major Versions

v0.9.4 → v1.1.02018-05-09

PHP version history (2 changes)v0.9.1PHP &gt;=6.4

v0.9.2PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/97a1cefec9fcbf213bb9a2db1f26e21b6ccb750984727256dd9833c5b27f25ae?d=identicon)[sokolnikov911](/maintainers/sokolnikov911)

---

Top Contributors

[![sokolnikov911](https://avatars.githubusercontent.com/u/11427142?v=4)](https://github.com/sokolnikov911 "sokolnikov911 (53 commits)")[![G1K](https://avatars.githubusercontent.com/u/12802312?v=4)](https://github.com/G1K "G1K (2 commits)")

---

Tags

phpphp54rssrss-feedrss-feed-generatoryandexyandex-turboyandex-turbo-pagesphpfeedrssgeneratorwriteryandexturbo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sokolnikov911-yandex-turbo-pages-php5/health.svg)

```
[![Health](https://phpackages.com/badges/sokolnikov911-yandex-turbo-pages-php5/health.svg)](https://phpackages.com/packages/sokolnikov911-yandex-turbo-pages-php5)
```

###  Alternatives

[suin/php-rss-writer

Yet another simple RSS writer library for PHP 5.4 or later.

2651.4M20](/packages/suin-php-rss-writer)[sokolnikov911/yandex-turbo-pages

PHP7 Yandex Turbo Pages RSS feed generator

4686.9k](/packages/sokolnikov911-yandex-turbo-pages)[rumenx/php-feed

Framework-agnostic PHP Feed generator for Laravel, Symfony, and more.

3652.3k](/packages/rumenx-php-feed)[tomloprod/radiance

A deterministic mesh gradient avatar generator for PHP.

1393.7k](/packages/tomloprod-radiance)

PHPackages © 2026

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