PHPackages                             bloghunch/php-sdk - 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. bloghunch/php-sdk

ActiveLibrary[API Development](/categories/api)

bloghunch/php-sdk
=================

A PHP SDK for the Bloghunch API

v1.0.0(1y ago)09MITPHPPHP ^7.4|^8.0

Since Sep 4Pushed 1y agoCompare

[ Source](https://github.com/bloghunch/bh-php-sdk)[ Packagist](https://packagist.org/packages/bloghunch/php-sdk)[ RSS](/packages/bloghunch-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Bloghunch PHP SDK
=================

[](#bloghunch-php-sdk)

This is the official PHP SDK for the Bloghunch API.

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

[](#installation)

You can install the package via composer:

```
composer require bloghunch/php-sdk
```

Usage
-----

[](#usage)

```
use Bloghunch\Bloghunch;
use Bloghunch\Exceptions\BloghunchException;

$bloghunch = new Bloghunch('your-api-key', 'your-domain');

try {
    $posts = $bloghunch->getAllPosts();
    print_r($posts);
} catch (BloghunchException $e) {
    echo "Error: " . $e->getMessage();
}
```

Available Methods
-----------------

[](#available-methods)

- `getAllPosts()`
- `getPost(string $slug)`
- `getPostComments(string $postId)`
- `getAllSubscribers()`
- `getAllTags()`

Check out the entire API documentation here [developer.bloghunch.com](https://developer.bloghunch.com/).
Feel free to reach out to [support](https://bloghunch.com/contact) for any queries.

Error Handling
--------------

[](#error-handling)

All methods can throw a `BloghunchException` if the API request fails.

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

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

618d ago

### Community

Maintainers

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

---

Top Contributors

[![dsouravcom](https://avatars.githubusercontent.com/u/90792242?v=4)](https://github.com/dsouravcom "dsouravcom (6 commits)")

### Embed Badge

![Health badge](/badges/bloghunch-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/bloghunch-php-sdk/health.svg)](https://phpackages.com/packages/bloghunch-php-sdk)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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