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

ActiveLibrary[API Development](/categories/api)

miguelbemartin/buffer-sdk-php
=============================

This library allows you to use the Buffer API using PHP

v1.0.5(3y ago)43.6k2[1 PRs](https://github.com/miguelbemartin/buffer-sdk-php/pulls)MITPHPPHP &gt;=7.2CI failing

Since Jun 28Pushed 3y ago2 watchersCompare

[ Source](https://github.com/miguelbemartin/buffer-sdk-php)[ Packagist](https://packagist.org/packages/miguelbemartin/buffer-sdk-php)[ Docs](https://github.com/miguelbemartin/buffer-sdk-php)[ RSS](/packages/miguelbemartin-buffer-sdk-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (4)Versions (2)Used By (0)

[![Buffer logo](https://camo.githubusercontent.com/cf82f1dc54df8a371ad222e2d5233062dc11205c890d24c32dabdb6e3f3bba39/68747470733a2f2f6275666665722e636f6d2f696d616765732f6275666665722d6c6f676f2e737667)](https://camo.githubusercontent.com/cf82f1dc54df8a371ad222e2d5233062dc11205c890d24c32dabdb6e3f3bba39/68747470733a2f2f6275666665722e636f6d2f696d616765732f6275666665722d6c6f676f2e737667)
================================================================================================================================================================================================================================================================================================================================================================================================

[](#)

[![Build Status](https://camo.githubusercontent.com/01de818a8c2543a190eecd0861c55c290923154e63dbd58fe2289a61c85bdf3b/68747470733a2f2f7472617669732d63692e6f72672f6d696775656c62656d617274696e2f6275666665722d73646b2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/miguelbemartin/buffer-sdk-php)

This library allows you to quickly and easily use the Buffer Web API v1 via PHP.

[Official Documentation](https://buffer.com/developers)

Getting Started
---------------

[](#getting-started)

### Prerequisites

[](#prerequisites)

- PHP &gt;=7.2

### Installation

[](#installation)

Run into the terminal the next command

```
composer require miguelbemartin/buffer-sdk-php

```

Usage
-----

[](#usage)

```
// Create a new AuthorizationToken
$auth = new AuthorizationToken('XXX');

// Create a new Buffer Wrapper Client
$buffer = new Buffer($auth);

// Get User
$user = $buffer->userService->getUser();

// Get the profiles
$profiles = $buffer->profileService->getProfiles();
```

Run the tests
-------------

[](#run-the-tests)

```
./vendor/bin/phpunit

```

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

[](#contributing)

- Open a PR:
- Open an issue:

Authors
-------

[](#authors)

- **Miguel Ángel Martín** - [@miguelbemartin](https://twitter.com/miguelbemartin)

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

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

1415d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f2f8d88bd99ad2da05ca4aeb4b51f2a325c18441d92ff4edf666402a89fac04?d=identicon)[miguelbemartin](/maintainers/miguelbemartin)

---

Top Contributors

[![miguelbemartin](https://avatars.githubusercontent.com/u/1125116?v=4)](https://github.com/miguelbemartin "miguelbemartin (38 commits)")[![jarodium](https://avatars.githubusercontent.com/u/1470446?v=4)](https://github.com/jarodium "jarodium (1 commits)")

---

Tags

Bufferbufferapp

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[storyblok/php-content-api-client

PHP Client for Storyblok Content API

11136.8k4](/packages/storyblok-php-content-api-client)[storyblok/php-management-api-client

Storyblok PHP Client for Management API

1224.4k1](/packages/storyblok-php-management-api-client)[smnandre/pagespeed-api

PageSpeed Insight PHP Api Client 🚀 Analyse web pages for performances metrics, core web vitals...

1511.5k](/packages/smnandre-pagespeed-api)[ipalaus/buffer-php-sdk

Unofficial Buffer SDK for PHP.

148.9k](/packages/ipalaus-buffer-php-sdk)

PHPackages © 2026

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