miguelbemartin/buffer-sdk-php

This library allows you to use the Buffer API using PHP

Installs: 3 584

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 3

Open Issues: 1

pkg:composer/miguelbemartin/buffer-sdk-php

v1.0.5 2022-06-28 09:43 UTC

This package is auto-updated.

Last update: 2025-09-28 17:04:02 UTC


README

Build Status

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

Official Documentation

Getting Started

Prerequisites

  • PHP >=7.2

Installation

Run into the terminal the next command

composer require miguelbemartin/buffer-sdk-php

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

./vendor/bin/phpunit

Contributing

Authors

License

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