PHPackages                             lukaswhite/podcast-feed-parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. lukaswhite/podcast-feed-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

lukaswhite/podcast-feed-parser
==============================

A PHP library for parsing podcast feeds

1.2.0(3y ago)1116.4k—6.3%4[2 issues](https://github.com/lukaswhite/podcast-feed-parser/issues)[3 PRs](https://github.com/lukaswhite/podcast-feed-parser/pulls)2MITPHP

Since Dec 3Pushed 2y ago2 watchersCompare

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

READMEChangelogDependencies (4)Versions (12)Used By (2)

Podcast Feed Parser
===================

[](#podcast-feed-parser)

A PHP library for parsing Podcast XML/RSS feeds.

Features
--------

[](#features)

- Get channel metadata, such as the title and description
- Retrieve a list of the episodes
- Supports iTunes metadata such as categories
- Get artwork and media files
- Sort episodes by their publication date, episode number or split into seasons

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

[](#installation)

```
composer require lukaswhite/php-feed-parser
```

Usage
-----

[](#usage)

```
use Lukaswhite\PodcastFeedParser\Parser;

$parser = Parser();
$parser->load('/path/to/feed/feed.rss');
$podcast = $parser->run();
```

or

```
$parser = Parser();
$parser->setContent(/** raw content */);
$podcast = $parser->run();
```

The `run()` method returns an instance of the `Podcast` class, on which the `getEpisodes()` method returns a collection of the podcast episodes.

Simple Example
--------------

[](#simple-example)

This only shows a limited selection of the available fields; you'll find a [complete list here](https://htmlpreview.github.io/?https://github.com/lukaswhite/podcast-feed-parser/blob/main/docs/html/classes/Lukaswhite_PodcastFeedParser_Podcast.xhtml).

```
$podcast = $parser->run();
$id = $db->insert(
    'podcasts',
    [
        'title' =>  $podcast->getTitle(),
        'description' => $podcast->getDescription(),
        'artwork' => $podcast->getArtwork()->getUri(),
    ]
);

foreach($podcast->getEpisodes() as $episode) {
    $db->insert(
        'episodes',
        [
            'podcast_id' => $id,
            'guid' => $episode->getGuid(),
            'title' =>  $episode->getTitle(),
            'description' => $episode->getDescription(),
            'media_uri' => $podcast->getMedia()->getUri(),
        ]
    );
}

return $podcast->getEpisodes()->mostRecent();
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~66 days

Recently: every ~148 days

Total

10

Last Release

1392d ago

Major Versions

0.0.7 → 1.0.02022-07-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1bd633ffdf0f66a73a288c4edcacfa43d214cd95a53384c6fe5ea4b3554dd9d?d=identicon)[lukaswhite](/maintainers/lukaswhite)

---

Top Contributors

[![lukaswhite](https://avatars.githubusercontent.com/u/999014?v=4)](https://github.com/lukaswhite "lukaswhite (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lukaswhite-podcast-feed-parser/health.svg)

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

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