PHPackages                             fkr/simplepie-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fkr/simplepie-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

fkr/simplepie-bundle
====================

Integrates SimplePie into Symfony

v1.1.0(3y ago)11137.5k↓34.6%5MITPHPPHP &gt;=5.3.2

Since Mar 4Pushed 3y ago3 watchersCompare

[ Source](https://github.com/fkrauthan/FkrSimplePieBundle)[ Packagist](https://packagist.org/packages/fkr/simplepie-bundle)[ Docs](https://github.com/fkrauthan/FkrSimplePieBundle)[ RSS](/packages/fkr-simplepie-bundle/feed)WikiDiscussions 1.0 Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (9)Used By (0)

FkrSimplePieBundle
==================

[](#fkrsimplepiebundle)

Integrates [SimplePie](https://github.com/simplepie/simplepie) RSS Parser into Symfony and setting up caching to the symfony cache folder.

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

[](#installation)

Bring in the vendor libraries
-----------------------------

[](#bring-in-the-vendor-libraries)

This can be done in two different ways:

**Method #1**) Use composer

```
"require": {
    "fkr/simplepie-bundle": "1.0.*@dev"
}

```

**Method #2**) Use deps file

```
[SimplePie]
    git=git://github.com/simplepie/simplepie.git
	target=simplepie

[FkrSimplePieBundle]
    git=git://github.com/fkrauthan/FkrSimplePieBundle.git
	target=bundles/Fkr/SimplePieBundle

```

**Method #3**) Use git submodules

```
git submodule add git://github.com/simplepie/simplepie.git vendor/simplepie
git submodule add git://github.com/fkrauthan/FkrSimplePieBundle.git vendor/bundles/Fkr/SimplePieBundle

```

Register the SimplePie and Fkr namespaces
-----------------------------------------

[](#register-the-simplepie-and-fkr-namespaces)

This is *not* required if you installed using composer.

```
// app/autoload.php
$loader->registerNamespaces(array(
    'Fkr'  => __DIR__.'/../vendor/bundles',
    // your other namespaces
));
$loader->registerPrefixes(array(
    'SimplePie'	   => __DIR__.'/../vendor/simplepie/library',
    // your other namespaces
));

```

Add SimplePieBundle to your application kernel
----------------------------------------------

[](#add-simplepiebundle-to-your-application-kernel)

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Fkr\SimplePieBundle\FkrSimplePieBundle(),
        // ...
    );
}

```

Configuration
=============

[](#configuration)

```
# app/config.yml
fkr_simple_pie:
    cache_enabled: false
    cache_dir: %kernel.cache_dir%/rss
    cache_duration: 3600
    idna_converter: ~ #default is false

```

- cache\_enabled: \[true or false\] enables caching for the SimplePie class
- cache\_dir: \[any dir\] setup the caching dir which SimplePie should use
- cache\_duration: \[secs\] setting up caching for number of seconds.
- idna\_converter: \[true or false\] enable the idna converter a [Encoder/Decoder for Internationalized Domain Names](http://dev.simplepie.org/api/class-idna_convert.html)

For more information about SimplePie's caching please visit the [SimplePie wiki](http://simplepie.org/wiki/faq/how_does_simplepie_s_caching_http_conditional_get_system_work).

Usage
=====

[](#usage)

To get a configured SimplePie class instance just use the following code

```
$this->get('fkr_simple_pie.rss');

```

The service keeps only one instance of SimplePie. If you want to use multiple feeds over your application you have to `clone` the instance to stop them interfering

```
$one = clone $this->get('fkr_simple_pie.rss');
$two = clone $this->get('fkr_simple_pie.rss');

```

Thats all. For the complete api visit the [SimplePie api doc](http://simplepie.org/wiki/reference/start).

Licence
=======

[](#licence)

[Resources/meta/LICENSE](https://github.com/fkrauthan/FkrSimplePieBundle/blob/master/Resources/meta/LICENSE)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 80.6% 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 ~500 days

Recently: every ~693 days

Total

8

Last Release

1318d ago

### Community

Maintainers

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

---

Top Contributors

[![fkrauthan](https://avatars.githubusercontent.com/u/1679841?v=4)](https://github.com/fkrauthan "fkrauthan (29 commits)")[![vvh-empora](https://avatars.githubusercontent.com/u/5236105?v=4)](https://github.com/vvh-empora "vvh-empora (2 commits)")[![bourvill](https://avatars.githubusercontent.com/u/295272?v=4)](https://github.com/bourvill "bourvill (1 commits)")[![memphys](https://avatars.githubusercontent.com/u/391910?v=4)](https://github.com/memphys "memphys (1 commits)")[![ReservedDeveloper](https://avatars.githubusercontent.com/u/6430108?v=4)](https://github.com/ReservedDeveloper "ReservedDeveloper (1 commits)")[![fran6co](https://avatars.githubusercontent.com/u/726088?v=4)](https://github.com/fran6co "fran6co (1 commits)")[![chrisjohnson00](https://avatars.githubusercontent.com/u/1231933?v=4)](https://github.com/chrisjohnson00 "chrisjohnson00 (1 commits)")

---

Tags

bundlephpsymfonysymfony-bundleatomfeedrssSymfony BundleSimplePie

### Embed Badge

![Health badge](/badges/fkr-simplepie-bundle/health.svg)

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

###  Alternatives

[suin/php-rss-writer

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

2651.4M20](/packages/suin-php-rss-writer)[rumenx/php-feed

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

3652.3k](/packages/rumenx-php-feed)[eko/feedbundle

A Symfony bundle to build RSS feeds from entities

142574.6k3](/packages/eko-feedbundle)[jbtronics/settings-bundle

A symfony bundle to easily create typesafe, user-configurable settings for symfony applications

9546.7k2](/packages/jbtronics-settings-bundle)[pixelopen/cloudflare-turnstile-bundle

A simple package to help integrate Cloudflare Turnstile on Symfony.

31205.8k3](/packages/pixelopen-cloudflare-turnstile-bundle)[mitydigital/feedamic

A fully-featured RSS and Atom feed generator for Statamic.

1064.0k](/packages/mitydigital-feedamic)

PHPackages © 2026

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