PHPackages                             adenion/blog2social-api-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. adenion/blog2social-api-php-sdk

ActiveLibrary[API Development](/categories/api)

adenion/blog2social-api-php-sdk
===============================

Official PHP SDK for the Blog2Social API.

v1.0.0(1mo ago)23↓50%MITPHPPHP &gt;=8.1

Since Jul 14Pushed 1mo agoCompare

[ Source](https://github.com/Adenion/blog2social-api-php-sdk)[ Packagist](https://packagist.org/packages/adenion/blog2social-api-php-sdk)[ Docs](https://www.blog2social.com/)[ RSS](/packages/adenion-blog2social-api-php-sdk/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Blog2Social API PHP SDK
=======================

[](#blog2social-api-php-sdk)

[![License: MIT](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE)[![PHP](https://camo.githubusercontent.com/7535257ca228724c93658bd52583d4e47a9bab02c356abf6e54c1d575f2151e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652e737667)](https://www.php.net/)[![Composer](https://camo.githubusercontent.com/354f7b292bb8594d1c494a1f07941f4e9e2b86d7540f324e09c7aa080eafde9e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6d706f7365722d72656164792d6f72616e67652e737667)](https://getcomposer.org/)

Official PHP SDK for the Blog2Social API v1.0.

The SDK provides an object-oriented interface for authentication, network connections, publishing, user apps, and video uploads.

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

[](#installation)

```
composer require adenion/blog2social-api-php-sdk
```

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Composer
- PHP cURL extension
- PHP JSON extension
- A Blog2Social API `service_token` ([Create a free API account and get your token](https://console.blog2social.com/))
- A Blog2Social API `access_token` (required for authenticated endpoints)

Architecture
------------

[](#architecture)

```
┌──────────────────────────────┐
│      Your PHP Application    │
└──────────────┬───────────────┘
              │
              ▼
┌──────────────────────────────┐
│     Blog2Social PHP SDK      │
└──────────────┬───────────────┘
              │
              ▼
┌──────────────────────────────┐
│       Blog2Social API        │
└──────────────┬───────────────┘
              │
  ┌───────────┼───────────┐
  ▼           ▼           ▼
Facebook   LinkedIn   Instagram
     ▼           ▼           ▼
  Threads   Pinterest   TikTok

... additional supported networks ...

```

Initialization
--------------

[](#initialization)

```
