This library allows you to quickly and easily use the Buffer Web API v1 via PHP.
- PHP >=7.2
Run into the terminal the next command
composer require miguelbemartin/buffer-sdk-php
// 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();
./vendor/bin/phpunit
- Open a PR: https://github.com/miguelbemartin/buffer-sdk-php/pulls
- Open an issue: https://github.com/miguelbemartin/buffer-sdk-php/issues
- Miguel Ángel Martín - @miguelbemartin
This project is licensed under the MIT License - see the LICENSE.md file for details