A Symfony bundle for reading and generating RSS, Atom, and JSON feeds with HTTP caching and content filtering.
RssAtomBundle is a Symfony bundle that enables developers to read and generate RSS, Atom, and JSON feeds within Symfony applications. It solves the problem of integrating feed consumption and publication by providing a standardized, cache-aware approach. Built on the feed-io library, it handles format detection, content filtering, and HTTP caching out of the box.
Symfony developers who need to consume external web feeds or publish feeds from their applications, such as content management systems, news aggregators, or API endpoints serving syndicated content.
Developers choose RssAtomBundle because it seamlessly integrates feed handling into Symfony with minimal configuration, offers built-in HTTP caching for performance, and leverages the robust feed-io library for reliable parsing and generation. Its extensible provider system allows custom data sources like Doctrine.
RSS and Atom Bundle for Symfony
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Integrates directly with Symfony's service container and dependency injection, as shown in the README for fetching FeedIo instances via constructor injection or service lookup.
Automatically handles 304 Not Modified responses to save bandwidth, with configurable options like force_refresh for development, reducing server load.
Supports Doctrine integration and custom providers for feed generation, allowing easy hooking into existing databases or APIs, as detailed in the provider implementation examples.
Detects and processes RSS, Atom, and JSON feeds automatically using the underlying feed-io library, with configurable date formats for non-standard feeds.
For Symfony versions below 3.3, manual routing and kernel registration are required, adding unnecessary complexity compared to modern Symfony flex installations.
Overriding providers can be tricky due to bundle registration order issues, sometimes forcing developers to use CompilerPass workarounds, as admitted in the README's override tips.
Dependency on feed-io 4 requires PHP 7.1+, which may limit compatibility with older projects or shared hosting environments, and downgrading to feed-io 3 needs manual composer tweaks.