PHPackages                             ahoraian/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ahoraian/feed

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ahoraian/feed
=============

A simple package based on PHP to read Atom feeds

1.0.0(5y ago)110MITPHP

Since Dec 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ahoraian/feed)[ Packagist](https://packagist.org/packages/ahoraian/feed)[ RSS](/packages/ahoraian-feed/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Feed Reader (Currently Atom Reader)
===================================

[](#feed-reader-currently-atom-reader)

This bundle is a simple feed reader that currently supports Atom feeds.

Setup
-----

[](#setup)

```
$ composer require ahoraian/feed
```

Usage
=====

[](#usage)

This package support some Http Client Driver internally, but it's completely exensible, and you free to use any Http Driver, also support local Atom.xml files (use FileDriver instead of CurlDriver).

### Remote Feed

[](#remote-feed)

```
// example url
$feedUrl = 'https://rss.dw.com/atom/rss-en-all';

$reader = new \Ahoraian\Feed\Reader(new \Ahoraian\Feed\Reader\Driver\CurlDriver);
$feeds = $reader->load($feedUrl);

foreach($feeds as $feed) {
     $id = $feed->getId();
     $title = $feed->getTitle();
     $authors = $feed->getAuthors();
     $links = $feed->getLinks();
     $summary = $feed->getSubtitle();
     $categories = $feed->get('category');
     $contributors = $feed->getContributors();
     $generators = $feed->getGenerator();
     $icon = $feed->getIcon();
     $logo = $feed->getLogo();
     $copyRight = $feed->getCopyright();
     $lastModificationDate = $feed->getLastModification();

    foreach ($feed->getItems() as $entry) {
        $entryId = $entry->getId();
        $entryTitle = $entry->getTitle();
        $entryAuthors = $entry->getAuthors();
        $entryContent = $entry->getContent();
        $entrySummary = $entry->getSummary();
        $entryLinks = $entry->getLinks();
        $entrySubtitle = $entry->getSubtitle();
        $entryCategories = $entry->get('category');
        $entryContributors = $entry->getContributors();
        $entryCopyright = $entry->getCopyright();
        $entrySource = $entry->getSource();
        $entryLastModification = $entry->getLastModification();
    }
}
```

### Local

[](#local)

```
// example url
$atom = file_get_contents('feed.xml');

$reader = new \Ahoraian\Feed\Reader(new \Ahoraian\Feed\Reader\Driver\FileDriver);
$feeds = $reader->load($atom);

//...
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1983d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/232435163?v=4)[ahoraian](/maintainers/ahoraian)[@ahoraian](https://github.com/ahoraian)

---

Top Contributors

[![ahoraian](https://avatars.githubusercontent.com/u/232435163?v=4)](https://github.com/ahoraian "ahoraian (11 commits)")

---

Tags

atom-feedfeed reader

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[nutsweb/laravel-prerender

Laravel middleware for prerendering javascript-rendered pages on the fly for SEO

279165.5k1](/packages/nutsweb-laravel-prerender)[openskill/datatable

This is a Laravel 5 package for the server and client side of DataTables (http://datatables.net/)

5511.2k1](/packages/openskill-datatable)[fruitstudios/searchit

Configure powerful custom filters for an enhanced search experience in the Craft CMS control panel.

2840.6k](/packages/fruitstudios-searchit)[t3sbs/t3sbootstrap

Startup extension to use bootstrap 5 classes, components and more out of the box. Example and info: www.t3sbootstrap.de

2315.4k](/packages/t3sbs-t3sbootstrap)

PHPackages © 2026

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