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

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

lucapericlp/medium-rss-parser
=============================

Parses a Medium profile's RSS feed and returning easy to use PHP objects for every post sorted by latest date.

2302[1 issues](https://github.com/lucapericlp/medium-rss-parser/issues)PHP

Since Sep 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lucapericlp/medium-rss-parser)[ Packagist](https://packagist.org/packages/lucapericlp/medium-rss-parser)[ RSS](/packages/lucapericlp-medium-rss-parser/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Medium RSS Parser
=================

[](#medium-rss-parser)

Medium-rss-parser is an open source project allowing users to get all their Medium posts and parsing them into easy to use PHP objects due to the lack of GET functionality in Medium's API. Posts are split into:

- **Title**
- **Link**
- **Creator**
- **Publish Date** (DateTime Object)
- **Summary** - first 120 characters of the blog post
- **Header Image** - first image to be found in post
- **Full Content** - all images and text in post as they appear
- **Content** - just the text of the post
- **Collection of Images** (Array) - ![]() tags for every image in the post

Downloading and using MediumRSSParser
-------------------------------------

[](#downloading-and-using-mediumrssparser)

In order to use MediumRSSParser in your project, download the library and store in your path of choice wihtin your project:

```
	require('path/to/BlogObject.php');
```

API Reference
-------------

[](#api-reference)

### BlogObject

[](#blogobject)

1. Constructor that accepts a Medium profile RSS feed in the format:

```
	$blogObject = new BlogObject("https://medium.com/feed/@lucaperic.lp");
```

and it auto populates an instance array of all Post objects found throughout the feed.

2. Array of Post objects can be accessed via:

```
	$postsArray = $blogObject->getPosts();
```

### Post

[](#post)

##### Public methods available:

[](#public-methods-available)

1. `php $post->getTitle(); `
2. `php $post->getLink(); `
3. `php $post->getCreator(); `
4. `php $post->getPubDate(); `
5. `php $post->getSummary(); `
    - returns first 120 characters appended by "..."
6. `php $post->getHeaderImage(); `
    - returns first image found in post
    - returns false if no images were found
7. `php $post->getCollectionOfImages(); `
    - returns array of all images found within that post
8. `php $post->getContent(); `
    - returns just the content within p tags
9. `php $post->getFullContent(); `
    - returns full content as received

Contributing
------------

[](#contributing)

Feel free to contribute to the project and if you provide valid code, I'll try get to including them asap. I'm no longer maintaining this repo.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/3196ab5652adcbe240f0f15cc59c7c7617b0fe1d7dd0f866035eda74706ea55a?d=identicon)[Lucaperic](/maintainers/Lucaperic)

---

Top Contributors

[![lucapericlp](https://avatars.githubusercontent.com/u/20670294?v=4)](https://github.com/lucapericlp "lucapericlp (8 commits)")[![RPeraltaJr](https://avatars.githubusercontent.com/u/10352233?v=4)](https://github.com/RPeraltaJr "RPeraltaJr (3 commits)")

### Embed Badge

![Health badge](/badges/lucapericlp-medium-rss-parser/health.svg)

```
[![Health](https://phpackages.com/badges/lucapericlp-medium-rss-parser/health.svg)](https://phpackages.com/packages/lucapericlp-medium-rss-parser)
```

###  Alternatives

[daijie/aria2

talk with aria2

726.8k](/packages/daijie-aria2)

PHPackages © 2026

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