PHPackages                             fabricio872/easy-rss-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. fabricio872/easy-rss-bundle

ActiveSymfony-bundle

fabricio872/easy-rss-bundle
===========================

Symfony bundle for managing RSS feed just add items and set limits and bundle handles storing items and deleting old ones automatically.

v0.1.1(2y ago)057MITPHP

Since May 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Fabricio872/easy-rss-bundle)[ Packagist](https://packagist.org/packages/fabricio872/easy-rss-bundle)[ RSS](/packages/fabricio872-easy-rss-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (14)Versions (7)Used By (0)

[![GitHub tag (latest by date)](https://camo.githubusercontent.com/4d58ffaaff1c55d9902a70c64e843a4df93b56c1fa6b56bd857aef3f5ff138db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f466162726963696f3837322f656173792d7273732d62756e646c65)](https://camo.githubusercontent.com/4d58ffaaff1c55d9902a70c64e843a4df93b56c1fa6b56bd857aef3f5ff138db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f466162726963696f3837322f656173792d7273732d62756e646c65)[![GitHub last commit](https://camo.githubusercontent.com/84d155aae60b7029855031c32d3fe50bc63c38bca3373b27bc4c511476b5d5a0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f466162726963696f3837322f656173792d7273732d62756e646c65)](https://camo.githubusercontent.com/84d155aae60b7029855031c32d3fe50bc63c38bca3373b27bc4c511476b5d5a0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f466162726963696f3837322f656173792d7273732d62756e646c65)[![Packagist Downloads](https://camo.githubusercontent.com/d277e9a2c01c85671c5c2dbaba22d0207df9ba8517df86b4183b4f0d5b07aa68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f466162726963696f3837322f656173792d7273732d62756e646c65)](https://camo.githubusercontent.com/d277e9a2c01c85671c5c2dbaba22d0207df9ba8517df86b4183b4f0d5b07aa68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f466162726963696f3837322f656173792d7273732d62756e646c65)[![GitHub Repo stars](https://camo.githubusercontent.com/5a4b5e666de6c0bd338c836291ad5f786a13379ea603bb9da215b2a09748f753/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f466162726963696f3837322f656173792d7273732d62756e646c653f7374796c653d736f6369616c)](https://camo.githubusercontent.com/5a4b5e666de6c0bd338c836291ad5f786a13379ea603bb9da215b2a09748f753/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f466162726963696f3837322f656173792d7273732d62756e646c653f7374796c653d736f6369616c)

Easy RSS
========

[](#easy-rss)

Symfony bundle for managing RSS feed just add items and set limits and bundle handles storing items and deleting old ones automatically.

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require fabricio872/easy-rss-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require fabricio872/easy-rss-bundle
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php
return [
    // ...
    Fabricio872\RandomMessageBundle\EasyRssBundle::class => ['all' => true],
];
```

Configuration options
---------------------

[](#configuration-options)

```
# config/services.yaml

# ...

# Default configuration for extension with alias: "easy_rss"
easy_rss:

 # Maximum feeds that would be stored. (0 to unlimited)
 max_feeds:            10

# ...
```

Usage
-----

[](#usage)

### First of all we need to create an endpoint on which we can connect RSS reader:

[](#first-of-all-we-need-to-create-an-endpoint-on-which-we-can-connect-rss-reader)

```
// src/Controller/RssController.php

//...

    #[Route('/rss.xml', name: 'app_rss_feed')]
    public function index(EasyRss $easyRss): Response
    {
        return $easyRss->getResponse('Title for RSS feed');
    }

//...
```

### Then you can start adding feeds:

[](#then-you-can-start-adding-feeds)

- create Feed object:

```
// src/any-place-in-your-project

//...

    $feed = new \Fabricio872\EasyRssBundle\DTO\Feed();
    $feed->setTitle('My first post');
    $feed->setDescription('This is my first post.');

//...
```

- publish feed:

```
// src/any-place-in-your-project

//...

    public function someMethodWithDependencyInjection(\Fabricio872\EasyRssBundle\EasyRss $easyRss)
    {
        $easyRss->setMaxFeeds(); // OPTIONAL this option is override for what you have set in config

        $easyRss->add($feed); // this will put your feed to DB and remove old feeds if there are more than MaxFeeds
    }

//...
```

And that's it if your page has only one RSS feed channel than you are done.

More than one RSS channel
-------------------------

[](#more-than-one-rss-channel)

### create more endpoints for each channel

[](#create-more-endpoints-for-each-channel)

```
// src/Controller/RssController.php

//...

    #[Route('/rss_one.xml', name: 'app_rss_one_feed')]
    public function rss_one(EasyRss $easyRss): Response
    {
        return $easyRss->getResponse('Title for first RSS feed', 'first'); // second parameter is channel identifier
    }

    #[Route('/rss_two.xml', name: 'app_rss_two_feed')]
    public function rss_two(EasyRss $easyRss): Response
    {
        return $easyRss->getResponse('Title for second RSS feed', 'second'); // second parameter is channel identifier
    }

//...
```

### create feed with defined channel

[](#create-feed-with-defined-channel)

```
// src/any-place-in-your-project

//...

    $feed = new \Fabricio872\EasyRssBundle\DTO\Feed();
    $feed->setTitle('My first post');
    $feed->setChannel('first'); // name of the channel has to be same as defined in controller
    $feed->setDescription('This is my first post.');

//...
```

> adding feed with defined channel is same as shown above.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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 ~1 days

Total

6

Last Release

1078d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/932c1684f2ac3360d3230023377029d9f7ea388a55dfc509c4f5501e2208ddd4?d=identicon)[Fabricio872](/maintainers/Fabricio872)

---

Top Contributors

[![Fabricio872](https://avatars.githubusercontent.com/u/29705379?v=4)](https://github.com/Fabricio872 "Fabricio872 (16 commits)")

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fabricio872-easy-rss-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/fabricio872-easy-rss-bundle/health.svg)](https://phpackages.com/packages/fabricio872-easy-rss-bundle)
```

###  Alternatives

[sylius/sylius

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

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

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

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[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)
