PHPackages                             postmypost/php-rest-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. [HTTP &amp; Networking](/categories/http)
4. /
5. postmypost/php-rest-sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

postmypost/php-rest-sdk
=======================

OpenAPI-based SDK for integrating with Postmypost REST API. Official, secure, and fully compliant integrations for social media automation, content scheduling, analytics, and more.

1.0.4(1y ago)04MITPHPPHP ^7.4 || ^8.0

Since Jun 30Pushed 9mo agoCompare

[ Source](https://github.com/postmypost/php-rest-sdk)[ Packagist](https://packagist.org/packages/postmypost/php-rest-sdk)[ Docs](https://postmypost.io)[ RSS](/packages/postmypost-php-rest-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

Postmypost PHP REST SDK
=======================

[](#postmypost-php-rest-sdk)

Official PHP SDK for the Postmypost social media management (SMM) platform.

Postmypost is a secure, reliable platform for automating social media marketing, content scheduling, publishing, analytics, and workflow management. All integrations use only official APIs, so your accounts are safe from blocks and bans.

**Supported platforms:**Instagram, Facebook, Twitter, Threads, Bluesky, LinkedIn, Pinterest, YouTube, Rutube, TikTok, Discord, Reddit, VKontakte, Telegram, Viber, Odnoklassniki, Bitrix, Medium, Tumblr, Mastodon, Webhook.

Getting Your API Token
----------------------

[](#getting-your-api-token)

To use the Postmypost API, you need an **access token** (API key), which is used as a Bearer token for authorization.

1. Sign up or log in to your [Postmypost account](https://api.postmypost.io/).
2. Go to the **Access Tokens** section in your account settings.
3. Create or copy your personal access token.
4. Use this token in your code examples as shown below.

**Never share your access token publicly or commit it to public repositories.**

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

[](#installation)

Install the SDK via Composer.

```
 composer require postmypost/php-rest-sdk
```

Usage Example
-------------

[](#usage-example)

### Scheduling publication

[](#scheduling-publication)

```
