volcagnomes/simplepie-bundle

Symfony Bundle to help using SimplePie RSS library

Installs: 142

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 1

pkg:composer/volcagnomes/simplepie-bundle

dev-master 2018-10-09 21:39 UTC

This package is auto-updated.

Last update: 2025-10-10 13:36:22 UTC


README

A Symfony bundle to ease SimplePie integration

Installation

Add the library to your composer requirements :

composer require volcagnomes/simplepie-bundle

By default, this buncle creates a "simplepie" folder in your Symfony cache. You can change this by creating a "simple_pie.yaml" file in your config folder (/config/packages in SF 4.x).

This is an example :

simple_pie:
     cache_location: '%kernel.cache_dir%/../simplepie'

Note : If the cache folder doesn't exist, SimplePieBundle will try to create it.

Usage

Simply inject a parameter of class Volcagnomes\SimplePieBundle\SimplePieService in your class constructor or your method. Call the createInstance() method on it and you'll have a working SimplePie instance ready to be used.