PHPackages                             netbrothers-gmbh/nb-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. netbrothers-gmbh/nb-feed

ActiveLibrary

netbrothers-gmbh/nb-feed
========================

Fetch RSS- and Atom-Feeds and save to JSON

v0.0.4(1y ago)125MITPHPPHP &gt;=8.1CI passing

Since Jun 23Pushed 1y ago2 watchersCompare

[ Source](https://github.com/netbrothers-gmbh/nb-feed)[ Packagist](https://packagist.org/packages/netbrothers-gmbh/nb-feed)[ RSS](/packages/netbrothers-gmbh-nb-feed/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (5)Used By (0)

[![build status](https://github.com/netbrothers-gmbh/nb-feed/actions/workflows/build-workflow.yml/badge.svg)](https://github.com/netbrothers-gmbh/nb-feed/actions/workflows/build-workflow.yml/badge.svg)

NetBrothers NbFeed
==================

[](#netbrothers-nbfeed)

This library pulls an RSS feed to your hard disk, transforms the items to an array and saves the results as a JSON file on your hard disk.

Installation
------------

[](#installation)

On the command prompt, change into your project's root directory and execute:

```
composer require netbrothers-gmbh/nb-feed
```

Configuration
-------------

[](#configuration)

*NbFeed* needs a readable and writeable directory. All other configurations are optional. The configuration depends on your environment. See the content of [ConfigService](./src/Service/ConfigService.php).

VariableDescriptionDefault*maxEntriesToSave*maximum number of feed items to be saved0 (all)*cacheMaxAge*maximum caching time of the file (in seconds)1800 sec*storagePath*absolute path to a readable and writeable directorynull*feedFileName*name of the file to write to/read fromnb-feedExample
-------

[](#example)

There is an [example file](./example/netbrothers-feed.php). To use it:

1. Checkout the repository,
2. run `composer install --no-dev`,
3. run the example: `php ./example/netbrothers-feed.php`.

Feel free to use the example file as a starting point for your own purposes.

Licence
-------

[](#licence)

MIT

Authors
-------

[](#authors)

- [Stefan Wessel, NetBrothers GmbH](https://netbrothers.de)
- [Thilo Ratnaweera, NetBrothers GmbH](https://netbrothers.de)

[![nb.logo](https://camo.githubusercontent.com/15f2d95c9afe46f4bf078f912ae2241f4e18e060a94ebb3fbc8aed45d9f12b09/68747470733a2f2f6e657462726f74686572732e64652f77702d636f6e74656e742f75706c6f6164732f323032302f31322f6e657462726f74686572735f6c6f676f2e706e67)](https://netbrothers.de)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance45

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.5% 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 ~209 days

Total

4

Last Release

427d ago

PHP version history (2 changes)v0.0.1PHP &gt;=8.0

v0.0.2PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b978ff9166a8511f29c075766eb124d3b47b6963efbc0babd811104b4eda0c8?d=identicon)[netbrothers](/maintainers/netbrothers)

---

Top Contributors

[![netbrothers-tr](https://avatars.githubusercontent.com/u/15143604?v=4)](https://github.com/netbrothers-tr "netbrothers-tr (17 commits)")[![netbrothers-sw](https://avatars.githubusercontent.com/u/9692134?v=4)](https://github.com/netbrothers-sw "netbrothers-sw (2 commits)")

---

Tags

jsonphpphp-libraryrssatomrss

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/netbrothers-gmbh-nb-feed/health.svg)

```
[![Health](https://phpackages.com/badges/netbrothers-gmbh-nb-feed/health.svg)](https://phpackages.com/packages/netbrothers-gmbh-nb-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

16749.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)[eko/feedbundle

A Symfony bundle to build RSS feeds from entities

142574.6k3](/packages/eko-feedbundle)[mibe/feedwriter

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

1951.1M5](/packages/mibe-feedwriter)

PHPackages © 2026

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