PHPackages                             arifszn/blog-client - 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. [API Development](/categories/api)
4. /
5. arifszn/blog-client

ActiveLibrary[API Development](/categories/api)

arifszn/blog-client
===================

PHP client to get recent blog posts from popular blogging platforms

v1.1.0(3y ago)1119MITPHP

Since Jun 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/arifszn/php-blog-client)[ Packagist](https://packagist.org/packages/arifszn/blog-client)[ Docs](https://github.com/arifszn/php-blog-client)[ RSS](/packages/arifszn-blog-client/feed)WikiDiscussions main Synced 1mo ago

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

 [![](https://user-images.githubusercontent.com/45073703/174469932-d3cbf8a0-b6ba-4c64-ab77-456ea4408f87.png)](https://user-images.githubusercontent.com/45073703/174469932-d3cbf8a0-b6ba-4c64-ab77-456ea4408f87.png)

#### PHP client to get recent blog posts from popular blogging platforms

[](#php-client-to-get-recent-blog-posts-from-popular-blogging-platforms)

 [ ![](https://camo.githubusercontent.com/ac79ab30f3c8188bbd125fdf6988f653997c1c70acd4a57fa3a3c2f12350f6d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726966737a6e2f626c6f672d636c69656e74) ](https://packagist.org/packages/arifszn/blog-client) [ ![](https://github.com/arifszn/php-blog-client/actions/workflows/ci.yml/badge.svg) ](https://github.com/arifszn/php-blog-client/actions/workflows/ci.yml) [ ![](https://camo.githubusercontent.com/00ef39062da8dd020db5283c96ba6784e5e9c9e9df9f9bfd129bfdb298be2442/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39626534616566316439666237383464333939392f6d61696e7461696e6162696c697479) ](https://codeclimate.com/github/arifszn/php-blog-client/maintainability) [ ![](https://camo.githubusercontent.com/beb15c278e14de2c183a9dcba3891f6a4eb422c4479b23c43e30fd77b547a4b3/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39626534616566316439666237383464333939392f746573745f636f766572616765) ](https://codeclimate.com/github/arifszn/php-blog-client/test_coverage) [ ![](https://camo.githubusercontent.com/c0aadebf8f9c77cb2cc8102df694189780fd41e87c2afcfe9f7891e82932d1f8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f61726966737a6e2f7068702d626c6f672d636c69656e74) ](https://github.com/arifszn/php-blog-client/blob/main/LICENSE) [ ![](https://camo.githubusercontent.com/9e93e892d0685e1bf7a1d0bd7c8410d6ecf2086a0a7b48dd58a6b96fa556ea2a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c6174) ](https://github.com/arifszn/php-blog-client/blob/main/CONTRIBUTING.md) [ ![](https://camo.githubusercontent.com/545d97f2e1769e350b45f7ae9fea62412935093e524c9b8735c6ce7a9eb7f8d6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f722d6275792532306d6525323061253230636f666665652d79656c6c6f773f6c6f676f3d6275796d6561636f66666565) ](https://www.buymeacoffee.com/arifszn) [ ![](https://camo.githubusercontent.com/e70a47211075a86f71d77efb5096103df7f3a16e0d054e6ffea44dcf2ce24b46/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c3f75726c3d68747470732533412532462532466769746875622e636f6d25324661726966737a6e2532467068702d626c6f672d636c69656e74) ](https://twitter.com/intent/tweet?text=PHP%20client%20to%20get%20recent%20blog%20posts%20from%20popular%20blogging%20platforms:&url=https%3A%2F%2Fgithub.com%2Farifszn%2Fphp-blog-client&hashtags=php,opensource,blog,webdev,developers)

 [Packagist](https://packagist.org/packages/arifszn/blog-client) · [Report Bug](https://github.com/arifszn/php-blog-client/issues) · [Request Feature](https://github.com/arifszn/php-blog-client/discussions)

Get recent blog posts from popular blogging platforms by just providing your username and showcase them on your portfolio or website.

> JavaScript version: [blog.js](https://github.com/arifszn/blog.js)

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

[](#installation)

Install via [composer](https://packagist.org/packages/arifszn/blog-client)

```
composer require arifszn/blog-client
```

Usage
-----

[](#usage)

- **`getDevPost()`:** Get 10 recent posts from [dev](https://dev.to).

    ```
    use Arifszn\Blog\Client;

    $client = new Client();
    $result = $client->getDevPost('yourusername');
    ```
- **`getMediumPost()`:** Get 10 recent posts from [medium](https://medium.com).

    ```
    use Arifszn\Blog\Client;

    $client = new Client();
    $result = $client->getMediumPost('yourusername');
    ```

Sample Response
---------------

[](#sample-response)

```
array:2 [▼
  0 => array:6 [▼
    "title" => "Why Enhancing Virtual Reality is Important",
    "description" => "Virtual reality is seen as a “fun” technology to some without much...",
    "thumbnail" => "https://cdn-images-1.medium.com/max/2600/0*kz30LOdXT8CyOymh",
    "link" => "https://medium.com/p/ac19dd21c728",
    "categories" => array:5 [▼
      "vr",
      "technology",
      "virtual-reality",
      "engineering",
      "artificial-intelligence"
    ],
    "publishedAt" => "2020-11-08 18:43:34"
  ],
  1 => array:6 [▼
    "title" => "How to Get Started With Data Science: a Brief Guide",
    "description" => "You’ve heard about data science and machine learning, and you want to get started. Maybe you hear...",
    "thumbnail" => "https://cdn-images-1.medium.com/max/2600/0*Ah0vLtsvxqUvRWuS",
    "link" => "https://medium.com/p/88ec244f2fee",
    "categories" => array:3 [▼
      "beginner-coding",
      "data-science-training",
      "machine-learning-course"
    ],
    "publishedAt" => "2020-26-07 22:55:26"
  ]
]
```

Contribute
----------

[](#contribute)

Please read the [contributing guide](https://github.com/arifszn/php-blog-client/blob/main/CONTRIBUTING.md) to learn how you can help.

Support
-------

[](#support)

You can show your support by starring this project.

[ ![Github Star](https://camo.githubusercontent.com/40f1de52aa616f60625dc97097afd07658372681bcbbeb8f2fc25a6022542f77/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f61726966737a6e2f7068702d626c6f672d636c69656e743f7374796c653d736f6369616c)](https://github.com/arifszn/php-blog-client/stargazers)License
-------

[](#license)

[MIT](https://github.com/arifszn/php-blog-client/blob/main/LICENSE)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

1420d ago

### Community

Maintainers

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

---

Top Contributors

[![arifszn](https://avatars.githubusercontent.com/u/45073703?v=4)](https://github.com/arifszn "arifszn (33 commits)")

---

Tags

apiarticleblog-apidevtomediummedium-apimedium-articledevblogmediumdevtoblog postmedium apidev.to apimedium articledev.to articleblog articleblog apiblog article apiblog post apirecent articlesarticle apimedium blogdev.to-blogblog clientphp blog client

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/arifszn-blog-client/health.svg)

```
[![Health](https://phpackages.com/badges/arifszn-blog-client/health.svg)](https://phpackages.com/packages/arifszn-blog-client)
```

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[mtownsend/read-time

A PHP package to show users how long it takes to read content.

283571.1k2](/packages/mtownsend-read-time)[jonathantorres/medium-sdk

Open source SDK for integrating Medium's OAuth2 API.

7933.3k1](/packages/jonathantorres-medium-sdk)[jonathantorres/laravel-medium-sdk

Laravel Service Provider for Medium's SDK for PHP.

233.9k](/packages/jonathantorres-laravel-medium-sdk)

PHPackages © 2026

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