PHPackages                             simplon/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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. simplon/feed

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

simplon/feed
============

Reads RSS 2.0 / ATOM 1.0 feeds. Supports namespaces and meta data.

0.3.3(10y ago)0564MITPHPPHP &gt;=5.4

Since Mar 30Pushed 10y agoCompare

[ Source](https://github.com/fightbulc/simplon_feed)[ Packagist](https://packagist.org/packages/simplon/feed)[ Docs](https://github.com/fightbulc/simplon_feed)[ RSS](/packages/simplon-feed/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (8)Used By (0)

```
                                       SIMPLON FEED

                                                   __.----.___
                       ||            ||  (\(__)/)-'||      ;--` ||
                      _||____________||___`(QQ)'___||______;____||_
                      -||------------||----)  (----||-----------||-
                      _||____________||___(o  o)___||______;____||_
                      -||------------||----`--'----||-----------||-
                       ||            ||       `|| ||| || ||     ||
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

```

Intro
-----

[](#intro)

When I was searching for an RSS feed reader I did not find any which was able to pass along `namespaced` data. So I wrote one which parses all possible fields, combined with `namespace fields` and possible `custom fields`. Since its hard to stand on one leg I also added a parser for the `ATOM` format. Same story here only a couple of variations when it comes to the feed tag names.

I've spent some time on parsing all tags including possible attributes. However, if you run in to any issues let me know.

1. Install
----------

[](#1-install)

Easy install via composer. Still no idea what composer is? Inform yourself [here](http://getcomposer.org).

```
{
  "require": {
    "simplon/feed": "*"
  }
}
```

2. Usage
--------

[](#2-usage)

Following you can find two examples for fetching, parsing and reading feeds. Note that both examples require composer to be `required` beforehand.

### RSS 2.0

[](#rss--20)

```
use Simplon\Feed\FeedReader;

$feed = new FeedReader();

// lets fetch all feed details and its items
$feedVo = $feed->rss('http://feeds.feedburner.com/techcrunch/europe?format=xml');

// e.g. reading title
var_dump($feedVo->getTitle());

// access possible namespaces
var_dump($feedVo->getNamespaces());

// access possible meta data
var_dump($feedVo->getMetas());

// access all items
foreach($feedVo->getItems() as $item)
{
    // e.g. reading title
    var_dump($item->getTitle());

    // access possible namespaces
    var_dump($item->getNamespaces());

    // access possible meta data
    var_dump($item->getMetas());
}
```

### ATOM 1.0

[](#atom-10)

```
use Simplon\Feed\FeedReader;

$feed = new FeedReader();

// lets fetch all feed details and its items
$feedVo = $feed->atom('http://vvv.tobiassjosten.net/feed.atom');

// e.g. reading title
var_dump($feedVo->getTitle());

// access possible namespaces
var_dump($feedVo->getNamespaces());

// access possible meta data
var_dump($feedVo->getMetas());

// access all items
foreach($feedVo->getItems() as $item)
{
    // e.g. reading title
    var_dump($item->getTitle());

    // access possible namespaces
    var_dump($item->getNamespaces());

    // access possible meta data
    var_dump($item->getMetas());
}
```

---

License
=======

[](#license)

Simplon freed is freely distributable under the terms of the MIT license.

Copyright (c) 2015 Tino Ehrich

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Recently: every ~98 days

Total

7

Last Release

3719d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/451061?v=4)[Tino Ehrich](/maintainers/fightbulc)[@fightbulc](https://github.com/fightbulc)

---

Tags

atomrssreadmeta datarss20atom10namespaces

### Embed Badge

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

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

###  Alternatives

[simplepie/simplepie

A simple Atom/RSS parsing library for PHP

1.6k9.4M87](/packages/simplepie-simplepie)[eko/feedbundle

A Symfony bundle to build RSS feeds from entities

142587.0k3](/packages/eko-feedbundle)[bnomei/kirby3-feed

Generate a Atom/JSON/RSS-Feed and XML-Sitemap from Pages-Collections

7227.2k](/packages/bnomei-kirby3-feed)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[yuzuru-s/parse-rss

This PHP library can easily parse xml files, especially RSS1.0, RSS2.0 and ATOM.

1040.8k](/packages/yuzuru-s-parse-rss)[phanan/poddle

Parse podcast feeds with PHP following PSP-1 Podcast RSS Standard

1732.7k8](/packages/phanan-poddle)

PHPackages © 2026

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