Skip to content

miguelbemartin/buffer-sdk-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buffer logo

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

About

Buffer SDK PHP is a wrapper for the Buffer API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages