PHPackages                             nekland/feed-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. nekland/feed-bundle

AbandonedSymfony-bundle[Parsing &amp; Serialization](/categories/parsing)

nekland/feed-bundle
===================

Feed manager integration for symfony

2.0.6(13y ago)333.5k18[1 issues](https://github.com/Nekland/FeedBundle/issues)MITPHPPHP &gt;=5.3.2

Since Nov 10Pushed 4y ago2 watchersCompare

[ Source](https://github.com/Nekland/FeedBundle)[ Packagist](https://packagist.org/packages/nekland/feed-bundle)[ Docs](https://github.com/Nekland/FeedBundle)[ RSS](/packages/nekland-feed-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

FeedBundle
==========

[](#feedbundle)

Version 2.0 Changes:

- Tested for Symfony 2.1
- Added composer support
- Namespace changed
- (versioning change)

Version 1.1 Changes:

- in the configuration you need to defined an url, not a route. (Maybe another website ? You can type what you want)
- the method getFeedRoute become getFeedRoutes in the ItemInterface (it's an array of routes). For more information, see the ItemInterface or the wiki.
- for naming your feeds you must add |format| (where you want in the filename)

Version 1.0 Warning: finally the new version (1.1) make substantial changes, but not in the code logic.

Features
--------

[](#features)

- can make atom and rss 2.0 feeds
- support multiple feeds
- support edit of feeds
- extensible
- On-the-fly and at-save feed generation

Read about configuration and more on the wiki
---------------------------------------------

[](#read-about-configuration-and-more-on-the-wiki)

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

[](#configuration)

### app/config.yml

[](#appconfigyml)

```
    nekland_feed:
        feeds:
            my_feed:
                class:        My\MyBundle\Entity\Post
                title:       'My fabulous posts'
                description: 'Here is my very fabulous posts'
                url:         'http://my-website.com'
                language:    'fr'
            my_feed2:
                class:        My\MyBundle\Entity\Comment
                title:       'My fabulous comments'
                description: 'Here is my very fabulous comments'
                url:         'http://my-website.com'
                language:    'fr'
```

Optional (default values):

```
    nekland_feed:
        feeds:
            ...
        renderers:
            rss:
                id: nekland_feed.renderer.rss
        loaders:
            rss_file:
                id: nekland_feed.loader.rss_file
```

Notice that if you want change the path where are saved files, you can redefined this option:

```
# Default path
nekland_feed.feeds.base_path: %kernel.root_dir%/../web/feeds
```

### Models

[](#models)

To use the NeklandFeedBundle, you must have class that implements the ItemInterface. In most of case, you can do it with your entities/documents

```
    class Post implements ItemInterface
    {
        //.....
    }
```

Usage
-----

[](#usage)

### Retrieve your feed instance

[](#retrieve-your-feed-instance)

```
    $container->get('nekland_feed.factory')->get('my_feed');
```

If your controller extends the base Symfony controller, you can use

```
    $this->get('nekland_feed.factory')->get('my_feed');
```

### Render the feed

[](#render-the-feed)

```
    $factory->render('my_feed', 'renderer');
```

### Add an item

[](#add-an-item)

```
    /** @var $post My\MyBundle\Entity\Post */
    $factory->load('my_feed', 'loader');
    $factory->get('my_feed')->add($post);
```

Tests
-----

[](#tests)

NeklandFeedBundle is bundled with some behat flavoured tests. Install BehatBundle and launch it with

```
app/console -e=test behat @NeklandFeedBundle

```

TODO
----

[](#todo)

- Annotation configuration

Author :
--------

[](#author-)

- Nek  (  )

Contributors :
--------------

[](#contributors-)

- Yohan Giarelli

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~186 days

Total

2

Last Release

4749d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/132011?v=4)[Nikita (Anatolievich) Dudnik](/maintainers/Nek)[@Nek](https://github.com/Nek)

---

Top Contributors

[![yohang](https://avatars.githubusercontent.com/u/608984?v=4)](https://github.com/yohang "yohang (40 commits)")[![Nek-](https://avatars.githubusercontent.com/u/972456?v=4)](https://github.com/Nek- "Nek- (35 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (1 commits)")[![0x616469](https://avatars.githubusercontent.com/u/522627?v=4)](https://github.com/0x616469 "0x616469 (1 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (1 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (1 commits)")[![brki](https://avatars.githubusercontent.com/u/697240?v=4)](https://github.com/brki "brki (1 commits)")

---

Tags

symfonyxmlatomfeed

### Embed Badge

![Health badge](/badges/nekland-feed-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/nekland-feed-bundle/health.svg)](https://phpackages.com/packages/nekland-feed-bundle)
```

###  Alternatives

[presta/sitemap-bundle

A Symfony bundle that provides tools to build your application sitemap.

3929.4M28](/packages/presta-sitemap-bundle)[bnomei/kirby3-feed

Generate a Atom/JSON/RSS-Feed and XML-Sitemap from Pages-Collections

7224.8k](/packages/bnomei-kirby3-feed)[torann/podcastfeed

Generate RSS feeds for podcasts in Laravel 5.

485.9k](/packages/torann-podcastfeed)[phanan/poddle

Parse podcast feeds with PHP following PSP-1 Podcast RSS Standard

1721.4k1](/packages/phanan-poddle)[sabre/xml-atom

A reader and writer for the Atom format

123.4k](/packages/sabre-xml-atom)

PHPackages © 2026

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