PHPackages                             alanmonger/socialite - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alanmonger/socialite

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

alanmonger/socialite
====================

Simple social media wrapper

1.0.2(11y ago)011MITPHP

Since Jan 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/amonger/socialite)[ Packagist](https://packagist.org/packages/alanmonger/socialite)[ RSS](/packages/alanmonger-socialite/feed)WikiDiscussions master Synced 1mo ago

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

[![SensioLabsInsight](https://camo.githubusercontent.com/98187e965916de8ff3879dbcc24a6076b507733eb220dbb4fae1c66c3938de0f/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31626366373366632d333639622d346366632d396636612d3633356134373161326463652f6d696e692e706e67)](https://insight.sensiolabs.com/projects/1bcf73fc-369b-4cfc-9f6a-635a471a2dce)\#Socialite

Socialite is a social media component which allows posting to popular social media platforms either independently or in bulk.

Single Post Use
---------------

[](#single-post-use)

\###Posting to facebook

```
    $facebook = Socialite\Service\ServiceFactory::facebook($appId, $appSecret);

    $message = new Socialite\Message();
    $message->setBody("Test Post");

    $facebook->post($message);
```

\###Posting to Twitter

```
    $twitter = ServiceFactory::twitter($consumerKey, $consumerSecret, $token, $tokenSecret);

    $message = new Socialite\Message();
    $message->setBody("Test Post");

    $twitter->post($message);
```

Bulk Post
---------

[](#bulk-post)

```
    $twitter    = \Socialite\Service\ServiceFactory::twitter($consumerKey, $consumerSecret, $token, $tokenSecret);
    $facebook   = \Socialite\Service\ServiceFactory::facebook($appId, $appSecret);
    $post       = new \Socialite\Message();

    $post->setBody("test");

    $bulk = new \Socialite\Post\Bulk;

    $bulk
        ->addPost($twitter)
        ->addPost($facebook)
        ->send($post)
    ;
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

4143d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9bfc4668b3600a449283b9375d4c111420c80fcd31e14c80ab698c7a31248823?d=identicon)[haveacigaro](/maintainers/haveacigaro)

---

Top Contributors

[![amonger](https://avatars.githubusercontent.com/u/147537?v=4)](https://github.com/amonger "amonger (3 commits)")

### Embed Badge

![Health badge](/badges/alanmonger-socialite/health.svg)

```
[![Health](https://phpackages.com/badges/alanmonger-socialite/health.svg)](https://phpackages.com/packages/alanmonger-socialite)
```

###  Alternatives

[amplifier/yii-amqp

AMQP adapter for Yii

2237.0k](/packages/amplifier-yii-amqp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
