PHPackages                             phpmycoder/rss-php - 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. [API Development](/categories/api)
4. /
5. phpmycoder/rss-php

ActiveLibrary[API Development](/categories/api)

phpmycoder/rss-php
==================

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

1.2.3(12y ago)0511BSD-3PHP

Since Aug 31Pushed 12y ago1 watchersCompare

[ Source](https://github.com/phpmycoder/rss-php)[ Packagist](https://packagist.org/packages/phpmycoder/rss-php)[ Docs](https://github.com/phpmycoder/rss-php)[ RSS](/packages/phpmycoder-rss-php/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (7)Used By (0)

RSS &amp; Atom Feeds for PHP
============================

[](#rss--atom-feeds-for-php)

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

It requires PHP 5.0 or newer with CURL extension or enabled allow\_url\_fopen and is licensed under the New BSD License. You can obtain the latest version from our [GitHub repository](http://github.com/dg/rss-php) or install it via Composer:

```
php composer.phar require dg/rss-php

```

Usage
-----

[](#usage)

Download RSS feed from URL:

```
$rss = Feed::loadRss($url);

```

The returned properties are SimpleXMLElement objects. Extracting the information from the channel is easy:

```
echo 'Title: ', $rss->title;
echo 'Description: ', $rss->description;
echo 'Link: ', $rss->link;

foreach ($rss->item as $item) {
	echo 'Title: ', $item->title;
	echo 'Link: ', $item->link;
	echo 'Timestamp: ', $item->timestamp;
	echo 'Description ', $item->description;
	echo 'HTML encoded content: ', $item->{'content:encoded'};
}

```

Download Atom feed from URL:

```
$atom = Feed::loadAtom($url);

```

---

(c) David Grudl, 2008 ()

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~108 days

Recently: every ~9 days

Total

6

Last Release

4465d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b1d10acb2f84d2b3ef2f85d4c570c54fdc6c43a3587bc2351e8e535fb2792c1?d=identicon)[phpmycoder](/maintainers/phpmycoder)

---

Top Contributors

[![dg](https://avatars.githubusercontent.com/u/194960?v=4)](https://github.com/dg "dg (12 commits)")[![phpmycoder](https://avatars.githubusercontent.com/u/195871?v=4)](https://github.com/phpmycoder "phpmycoder (2 commits)")[![flenczewski](https://avatars.githubusercontent.com/u/3543493?v=4)](https://github.com/flenczewski "flenczewski (1 commits)")

---

Tags

atomfeedrss

### Embed Badge

![Health badge](/badges/phpmycoder-rss-php/health.svg)

```
[![Health](https://phpackages.com/badges/phpmycoder-rss-php/health.svg)](https://phpackages.com/packages/phpmycoder-rss-php)
```

###  Alternatives

[laminas/laminas-feed

provides functionality for creating and consuming RSS and Atom feeds

16749.2M47](/packages/laminas-laminas-feed)[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)[eko/feedbundle

A Symfony bundle to build RSS feeds from entities

142574.6k3](/packages/eko-feedbundle)[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)[sokolnikov911/yandex-turbo-pages

PHP7 Yandex Turbo Pages RSS feed generator

4686.9k](/packages/sokolnikov911-yandex-turbo-pages)

PHPackages © 2026

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