PHPackages                             dereuromark/cakephp-feed - 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. [Templating &amp; Views](/categories/templating)
4. /
5. dereuromark/cakephp-feed

ActiveCakephp-plugin[Templating &amp; Views](/categories/templating)

dereuromark/cakephp-feed
========================

A CakePHP plugin containing RssView and AtomView classes for generating RSS 2.0 and Atom 1.0 feeds.

3.2.0(1mo ago)1356.6k↑190.8%41MITPHPPHP &gt;=8.2CI passing

Since Jan 16Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/dereuromark/cakephp-feed)[ Packagist](https://packagist.org/packages/dereuromark/cakephp-feed)[ Docs](https://github.com/dereuromark/cakephp-feed)[ RSS](/packages/dereuromark-cakephp-feed/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (6)Versions (21)Used By (1)

CakePHP Feed Plugin
===================

[](#cakephp-feed-plugin)

[![CI](https://github.com/dereuromark/cakephp-feed/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-feed/actions/workflows/ci.yml?query=branch%3Amaster)[![Coverage Status](https://camo.githubusercontent.com/b77d8d90450cb521f1e89b537474727834a96a1c008ceb2a5f2b44a622920074/68747470733a2f2f636f6465636f762e696f2f67682f6465726575726f6d61726b2f63616b657068702d666565642f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/dereuromark/cakephp-feed)[![PHPStan](https://camo.githubusercontent.com/f60d96f7c2579690ab6dfa8918f777fe93a02a92301c661eb38a85861a92b780/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e2e7376673f7374796c653d666c6174)](https://phpstan.org/)[![Minimum PHP Version](https://camo.githubusercontent.com/ec21f169d70b69344c67d6f18fa1a24d20476d2f0cd680e8c4a1534c22f34e5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e322d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/033d997bddb6ed8e314ead6b275ed9fcf850d542cd36854229ecae89de98cb4f/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d666565642f6c6963656e73652e737667)](LICENSE)[![Latest Stable Version](https://camo.githubusercontent.com/da0a76b0b828fcf34c4552907aa3898afc7d04b6776257ecd592a5985597847c/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d666565642f762f737461626c652e737667)](https://packagist.org/packages/dereuromark/cakephp-feed)[![Total Downloads](https://camo.githubusercontent.com/7e602de8aa336e21be95140cce3a8d936dc077215649fed68b641a625760c7ec/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d666565642f642f746f74616c2e737667)](https://packagist.org/packages/dereuromark/cakephp-feed)[![Coding Standards](https://camo.githubusercontent.com/4788bab10b61ca8b0d56334238717a9191fe9cceecb154973f8854146a2bb5a6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63732d5053522d2d322d2d522d707572706c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-fig-rectified/fig-rectified-standards)

A CakePHP plugin containing `RssView` and `AtomView` classes for generating RSS 2.0 and Atom 1.0 feeds.

Version notice
--------------

[](#version-notice)

This branch is for use with **CakePHP 5.1+**. See [version map](https://github.com/dereuromark/cakephp-feed/wiki#cakephp-version-map) for details.

What is this plugin for?
------------------------

[](#what-is-this-plugin-for)

There used to be a core helper for RSS generation, but it had several deficiencies. It also was removed in 4.0. So this plugin aims to provide a better support for feed generation — both RSS 2.0 (the de-facto standard, still required for podcasting) and Atom 1.0 (the cleaner, stricter successor preferred for most modern feeds).

### Goals of these view classes

[](#goals-of-these-view-classes)

- Support view-less actions via serialize.
- Get rid of the ridiculously verbose "inline" namespace declarations.
- Simplify the use of namespaces and their prefixes (auto-add only those that are actually used).
- Support CDATA (unescaped content).
- Allow mini-templating where necessary.
- Accept friendly shorthands for the common case (bare strings for `link`, `author`, `category`) while leaving the full attribute shape available for power use.

### RSS vs Atom: which one?

[](#rss-vs-atom-which-one)

- **RSS 2.0** if you publish a podcast. Apple Podcasts and the rest of that ecosystem require RSS plus the `itunes:` namespace. Also pick RSS if you have a specific reason to target the long tail of RSS-only readers.
- **Atom 1.0** for almost anything else. Unambiguous date semantics (separate `` and ``), typed content (`text`/`html`/`xhtml`), structured `` with `//`, multiple `` per entry, mandatory `` for proper deduplication. Most modern feed readers parse both equally well, and Atom is strictly less ambiguous.
- **Both, if you're not sure.** Each view class is small; emitting `/feed.rss` and `/feed.atom` from the same controller action is a few extra lines.

### Additional features

[](#additional-features)

- Automatic View class mapping via `rss` and `atom` extensions.

See [my article](https://www.dereuromark.de/2013/10/03/rss-feeds-in-cakephp/) for details on the history of this view class.

### Demo

[](#demo)

Installation &amp; Docs
-----------------------

[](#installation--docs)

- [Documentation](docs/README.md)

### Possible TODOs

[](#possible-todos)

- Maybe add Feed readers instead of just writers.

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance91

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 96.4% 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 ~289 days

Recently: every ~215 days

Total

14

Last Release

54d ago

Major Versions

1.2.0 → 2.0.0-beta2019-12-31

2.2.0 → 3.0.0-RC2023-09-22

PHP version history (6 changes)1.0.0PHP &gt;=5.4

1.1.0PHP &gt;=5.6

2.0.0-betaPHP &gt;=7.2

2.2.0PHP &gt;=7.4

3.0.0-RCPHP &gt;=8.1

3.1.0PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39854?v=4)[Mark Scherer](/maintainers/dereuromark)[@dereuromark](https://github.com/dereuromark)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (132 commits)")[![DavyDeCoster](https://avatars.githubusercontent.com/u/6095391?v=4)](https://github.com/DavyDeCoster "DavyDeCoster (2 commits)")[![okinaka](https://avatars.githubusercontent.com/u/120861?v=4)](https://github.com/okinaka "okinaka (2 commits)")[![mrothauer](https://avatars.githubusercontent.com/u/527787?v=4)](https://github.com/mrothauer "mrothauer (1 commits)")

---

Tags

cakephpcakephp-pluginfeedphprsspluginatomfeedrsscakephpview

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dereuromark-cakephp-feed/health.svg)

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

###  Alternatives

[friendsofcake/cakephp-csvview

A CSV View class for CakePHP

1782.6M5](/packages/friendsofcake-cakephp-csvview)[dereuromark/cakephp-ajax

A CakePHP plugin that makes working with AJAX a piece of cake.

54262.9k1](/packages/dereuromark-cakephp-ajax)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131240.2k13](/packages/dereuromark-cakephp-tinyauth)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

36199.6k2](/packages/dereuromark-cakephp-setup)[dereuromark/cakephp-meta

A CakePHP plugin for SEO meta tags, OpenGraph and Twitter Cards

1014.7k1](/packages/dereuromark-cakephp-meta)[dereuromark/cakephp-databaselog

A CakePHP plugin for storing and viewing application logs in the database

44172.5k2](/packages/dereuromark-cakephp-databaselog)

PHPackages © 2026

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