Search by

xfix / myriad

All-in-one social media management SDK for Facebook, Instagram, LinkedIn, TikTok, and more.

Maintainers

Package info

github.com/Gicehajunior/myriad-sdk

pkg:composer/xfix/myriad

Transparency log

Statistics

Installs: 20

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.8 2026-09-02 13:28 UTC

This package is auto-updated.

Last update: 2026-09-02 13:28:52 UTC


README

Xfix Myriad is a unified, extensible PHP SDK for social media management.

It provides a consistent interface for working with multiple social platforms from a single codebase. Posts are the initial pilot and testing foundation, with additional capabilities planned for future development.

Current Pilot: Posts

The current development focus is social media publishing across:

  • Facebook
  • Instagram
  • LinkedIn
  • TikTok

The Posts pilot covers:

  • Text, image, and video content
  • Publishing
  • Scheduling
  • Platform authentication
  • Unified post models and results
  • Platform-specific adapters

Other capabilities such as analytics, advertising, inbox management, content libraries, and advanced automation will be developed progressively.

Installation

composer require xfix/myriad

Quick Start

use Xfix\Myriad\Core\Myriad;
use Xfix\Myriad\Models\Post;

$myriad = new Myriad([
    'facebook' => [
        'app_id' => 'FB_APP_ID',
        'app_secret' => 'FB_APP_SECRET',
    ],
    'instagram' => [
        'app_id' => 'IG_APP_ID',
    ],
    'linkedin' => [
        'app_id' => 'LI_APP_ID',
    ],
    'tiktok' => [
        'app_id' => 'TT_APP_ID',
    ],
]);

$myriad->auth()->setToken('facebook', 'ACCESS_TOKEN', [
    'page_id' => 'PAGE_ID',
]);

$post = new Post();

$post->setContent('Hello from Xfix Myriad!')
     ->addMedia('/path/to/image.jpg');

$result = $myriad
    ->facebook()
    ->posts()
    ->publish($post);

if ($result->isSuccess()) {
    echo $result->getPostId();
}

Architecture

src/
├── Core/
│   ├── Myriad.php
│   ├── AuthManager.php
│   ├── Config.php
│   └── HttpClient.php
│
├── Platform/
│   ├── PlatformInterface.php
│   ├── Facebook/
│   ├── Instagram/
│   ├── LinkedIn/
│   └── TikTok/
│
├── Services/
│   ├── Scheduler.php
│   ├── ContentLibrary.php
│   ├── WebhookHandler.php
│   └── AnalyticsAggregator.php
│
├── Models/
├── Exceptions/
└── Utils/

Platform adapters isolate API-specific implementation while the Core, Models, and Services provide a consistent application-level interface.

Roadmap

The project is intentionally being developed incrementally.

Posts
↓
Analytics
↓
Ads
↓
Inbox
↓
Content Management
↓
Automation & Social Intelligence

The Posts pilot will establish and validate the core architecture before expanding into these additional capabilities.

Requirements

  • PHP 8.0+
  • Guzzle 7+
  • ext-curl

License

MIT

Contributing

Contributions and improvements are welcome. Please open an issue or submit a pull request.

Xfix Myriad — one SDK for multiple social platforms.