PHPackages                             halfshellstudios/feed-processor - 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. halfshellstudios/feed-processor

ActiveLibrary

halfshellstudios/feed-processor
===============================

1.0.0(1y ago)01MITPHPPHP ^8.3

Since May 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/stuarttodd-dev/feed-processor)[ Packagist](https://packagist.org/packages/halfshellstudios/feed-processor)[ RSS](/packages/halfshellstudios-feed-processor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

Feed Processor
==============

[](#feed-processor)

Welcome to the **Feed Processory**! A simple feed processor. Pass it a file location and it'll return the data.

Usage Examples
--------------

[](#usage-examples)

The package currently supports csv, txt, rss, json and xml files.

All you need to do is pass one of those file locations to it and call either `toArray()` or `toJson()` to get the contents.

```
use HalfShellStudios\FeedProcessor;

// CSV file
$processor = FeedProcessorFactory::make("./some_location/sample.csv");
$json = $processor->toJson();
$array = $processor->toArray();

// TXT file
$processor = FeedProcessorFactory::make("./some_location/sample.txt");
$json = $processor->toJson();
$array = $processor->toArray();

// RSS file
$processor = FeedProcessorFactory::make("./some_location/sample.rss");
$json = $processor->toJson();
$array = $processor->toArray();

// JSON file
$processor = FeedProcessorFactory::make("./some_location/sample.json");
$json = $processor->toJson();
$array = $processor->toArray();

// XML file
$processor = FeedProcessorFactory::make("./some_location/sample.xml");
$json = $processor->toJson();
$array = $processor->toArray();

```

If the file doesn't exist, a `FileDoesNotExistException` is thrown. If the file is malformed in some way, a `FileMalformedException` is thrown.

Thats it!

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance49

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

371d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d7514db87ed49ccef24aee6af3c509527472bc70b9be35c02c081996436fb77?d=identicon)[stuarttodd-dev](/maintainers/stuarttodd-dev)

---

Top Contributors

[![stuarttodd-dev](https://avatars.githubusercontent.com/u/54860041?v=4)](https://github.com/stuarttodd-dev "stuarttodd-dev (2 commits)")

###  Code Quality

Static AnalysisPHPStan, Rector

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)

PHPackages © 2026

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