PHPackages                             janwebdev/social-post - 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. janwebdev/social-post

ActiveLibrary[API Development](/categories/api)

janwebdev/social-post
=====================

Library helping you publish status updates on Facebook and Twitter in easy way

2.1(1y ago)0158↓100%MITPHPPHP ^8.1

Since Mar 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/janwebdev/social-post)[ Packagist](https://packagist.org/packages/janwebdev/social-post)[ RSS](/packages/janwebdev-social-post/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (11)Versions (8)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/78535668f431d6b1bbe70a1590bbaa08f0c22b5f1710cb1a91d4ccfe0475588d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a616e7765626465762f736f6369616c2d706f73742f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/janwebdev/social-post/?branch=main)[![Build Status](https://camo.githubusercontent.com/08b63f50852f9b7fcda67052ffb075c4bf83a150364bf18874eb74bfc74c37ad/68747470733a2f2f6170692e7472617669732d63692e6f72672f6a616e7765626465762f736f6369616c2d706f73742e7376673f6272616e63683d6d61696e)](https://www.travis-ci.org/janwebdev/social-post)[![Coverage Status](https://camo.githubusercontent.com/6707e07829fb6454e7d91e2b10338e27e0b7becc9cf65289e1afb88f6c218675/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6a616e7765626465762f736f6369616c2d706f73742f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/janwebdev/social-post?branch=main)[![Latest Stable Version](https://camo.githubusercontent.com/b982eb2faa179272ebd18747d886c18711aa1be1d426d6e2b4a94f22d55b7cf3/68747470733a2f2f706f7365722e707567782e6f72672f6a616e7765626465762f736f6369616c2d706f73742f76657273696f6e)](https://packagist.org/packages/janwebdev/social-post)[![Total Downloads](https://camo.githubusercontent.com/9312130d31c5aef77f6bd0d9e8bf5df9a73530f2eab8d93b9d3d6c7d2ced5da1/68747470733a2f2f706f7365722e707567782e6f72672f6a616e7765626465762f736f6369616c2d706f73742f646f776e6c6f616473)](https://packagist.org/packages/janwebdev/social-post)

---

What's this?
------------

[](#whats-this)

This is a library that provides API for creating posts on Facebook and Twitter. It was cloned from [this repo](https://github.com/martin-georgiev/social-post) and refactored to support PHP 8.1+

---

How to install it?
------------------

[](#how-to-install-it)

Recommended way is through [Composer](https://getcomposer.org/download/)

```
composer require janwebdev/social-post

```

---

Additional info
---------------

[](#additional-info)

Facebook doesn't support non-expiring user access tokens. Instead, you can obtain a permanent page access token. When using such tokens you can act and post as the page itself. More information about the page access tokens from the official [Facebook documentation](https://developers.facebook.com/docs/facebook-login/access-tokens/expiration-and-extension#extendingpagetokens). Some Stackoverflow answers ([here](https://stackoverflow.com/a/21927690/3425372) and [here](https://stackoverflow.com/a/28418469/3425372)) also may help.

---

License
-------

[](#license)

This package is licensed under the MIT License.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance52

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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 ~67 days

Recently: every ~100 days

Total

7

Last Release

367d ago

Major Versions

1.4 → 2.02024-03-31

### Community

Maintainers

![](https://www.gravatar.com/avatar/c883713524aa45bd05ea6b6bfae4b59807241e1d505630b4a4bdba9ef13ea7fd?d=identicon)[janwebdev](/maintainers/janwebdev)

---

Top Contributors

[![janwebdev](https://avatars.githubusercontent.com/u/6725905?v=4)](https://github.com/janwebdev "janwebdev (9 commits)")

---

Tags

facebooktwittersocial networktwitteroauthfacebook sdk for phppost create

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/janwebdev-social-post/health.svg)

```
[![Health](https://phpackages.com/badges/janwebdev-social-post/health.svg)](https://phpackages.com/packages/janwebdev-social-post)
```

###  Alternatives

[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[gourmet/social-meta

Adds Facebook Open Graph and Twitter Cards support to CakePHP 3.x

255.1k](/packages/gourmet-social-meta)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)[org_heigl/hybridauth

Lightweight Authentication Module for Zend-Framework 2 using the hybridauth-library

211.9k](/packages/org-heigl-hybridauth)

PHPackages © 2026

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