PHP library for fetching feed

I wrote a small PHP library for fetching the latest posts from a feed. I use it to show the posts on my personal web profile.

The library currently fetches up to ten latest posts using the JSON feed Medium is providing. It implements a file cache to avoid fetching the same data again with every request. You can use the internal file cache, inject your own cache or don’t use a cache at all.

Feel free to try it out, I’m happy for feedback and contributions.

Like what you read? Give KC Müller a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.