PHP SDKSocial media SDK
Social media SDK
for PHP
Post, schedule, reply and report on 13 platforms from PHP 8.1 or later, with no Composer dependencies.
Install in one lineFrom Packagist, for PHP 8.1 or later with ext-curl and ext-json. The source is on GitHub under MIT.composer require omnisocials/omnisocials-php
No Composer dependenciesBuilt on ext-curl and ext-json only, with PSR-4 autoloading and PSR-12 style. Nothing to reconcile with your existing lock file.ext-curl
Feels like StripeResource objects with array params: $client->posts->create([...]). If you have integrated Stripe, you already know this SDK.$client->posts->create()
Fits the PHP stack you use
The same client in Laravel and Symfony. Each example schedules a post from your own code.
Laravel~/released
1use Illuminate\Support\Facades\Route;
2use OmniSocials\Client;
3
4Route::post('/launch', function () {
5 $client = new Client(); // reads OMNISOCIALS_API_KEY
6
7 $post = $client->posts->create([
8 'content' => request('content'),
9 'channels' => ['instagram', 'linkedin', 'x'],
10 'scheduled_at' => '2026-11-03T09:00:00Z',
11 ]);
12
13 return response()->json($post['data']);
14});
One client for the whole API
Posts, media, the inbox, analytics and webhooks sit on the same client, with the same names in every language.
Retries, errors and webhook checks built in
All eight follow one design. They retry what fails for a moment, raise a clear error for the rest and check every webhook signature.
Automatic retriesRate limits, server errors and dropped connections retry with backoff. Retry-After is respected.2 retries by default
Errors you can catchOne class per failure: authentication, validation, not found, rate limit, server and connection.RateLimitException
Timeouts you setSet the timeout, the retry count and the base URL per client. The defaults fit most apps.30 s per attempt
Webhook checksHMAC-SHA256 with a constant-time compare and a 5-minute replay window.Webhooks::verifySignature()
The PHP package
Released with the other seven SDKs from one changelog. Need another language? See all eight on the SDK page.
All SDKs- Package
omnisocials/omnisocials-php- Install
- Version
- 0.9.0Released Oct 5, 2026
- Requires
- PHP 8.1 or later with ext-curl and ext-json
- Dependencies
- No Composer dependencies (ext-curl, ext-json)
- Client
new OmniSocials\Client()- Responses
- Arrays
- Webhooks
Webhooks::verifySignature()- Source
- OmniSocials/omnisocials-php MIT license
Frequently
Asked Questions
Robert LigthartFounder of OmniSocials
Install it.Post today.
The SDKs, the API, the CLI and the MCP server come with every plan: $10 per seat per month, billed annually.






