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. simplon/feed

ActiveLibrary

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 1mo ago

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 37% 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

3673d 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.6k8.7M69](/packages/simplepie-simplepie)[laminas/laminas-feed

provides functionality for creating and consuming RSS and Atom feeds

16649.2M47](/packages/laminas-laminas-feed)[jason-munro/cypht

Lightweight Open Source webmail written in PHP and JavaScript

1.5k146.0k](/packages/jason-munro-cypht)[dg/rss-php

RSS &amp; Atom Feeds for PHP is a very small and easy-to-use library for consuming an RSS and Atom feed

4801.2M10](/packages/dg-rss-php)[mibe/feedwriter

Generate feeds in either RSS 1.0, RSS 2.0 or ATOM formats

1951.1M5](/packages/mibe-feedwriter)[debril/rss-atom-bundle

RSS / Atom and JSONFeed support for Symfony

1381.3M2](/packages/debril-rss-atom-bundle)

PHPackages © 2026

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