PHPackages                             prateekbhujel/larapost - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. prateekbhujel/larapost

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

prateekbhujel/larapost
======================

Laravel publishing and scheduling for Facebook Pages, Twitter/X, and LinkedIn

v1.0.0(4mo ago)511MITPHPPHP ^8.1CI passing

Since Mar 30Pushed 1mo agoCompare

[ Source](https://github.com/prateekbhujel/larapost)[ Packagist](https://packagist.org/packages/prateekbhujel/larapost)[ Docs](https://github.com/prateekbhujel/larapost)[ RSS](/packages/prateekbhujel-larapost/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (10)Versions (5)Used By (0)

LaraPost
========

[](#larapost)

[![LaraPost banner](./docs/assets/brand/larapost-banner.png)](./docs/assets/brand/larapost-banner.png)

[![CI](https://github.com/prateekbhujel/larapost/actions/workflows/ci.yml/badge.svg)](https://github.com/prateekbhujel/larapost/actions/workflows/ci.yml)[![Packagist](https://camo.githubusercontent.com/e38944f1745c333a32a5664291293138e2dd06faf440c1a96f61b21366ad4e95/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7072617465656b6268756a656c2f6c617261706f73742e737667)](https://packagist.org/packages/prateekbhujel/larapost)[![PHP](https://camo.githubusercontent.com/38db6e59e2b3b5169bd1aba5ff029b639e6246a3e64d07f8821c954a1202c3eb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e322d3737374242342e737667)](https://php.net)[![Laravel](https://camo.githubusercontent.com/5a05d3c9e420ab83f0af27d4cb7896ba703a8a6a7f0ad26ef6af052c8517b152/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d3131253230253743253230313225323025374325323031332d4646324432302e737667)](https://laravel.com)[![License](https://camo.githubusercontent.com/d889a18b9b7fe9994dd1216ec40fe986735181c28eef2a98facdc0e1697cb3d2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3131313131312e737667)](./LICENSE)

LaraPost is a Laravel package for publishing and scheduling content to Facebook Pages, Twitter / X, and LinkedIn from one API and one dashboard.

LaraPost supports publishing and scheduling for Facebook Pages, Twitter / X, and LinkedIn from one Laravel API and dashboard.

Features
--------

[](#features)

- One fluent API via `SocialSync\Facades\SocialMedia`
- Built-in dashboard at `/larapost/dashboard`
- OAuth connect flow for Facebook, Twitter / X, and LinkedIn
- Multi-Page Facebook sync from one Meta login
- Immediate publishing and scheduled publishing
- Bulk composer for different content across different accounts
- Retry and scheduled runner commands
- CI for PHP `8.2`, `8.3`, `8.4`, and `8.5`

Support Matrix
--------------

[](#support-matrix)

PlatformConnectPublishNotesFacebookOAuth to Facebook loginPage posts with text, image URL, and video URLFacebook Pages only. Personal profile posting is not supported.Twitter / XOAuth 2.0 or manual Xquik account setupText postsYour X app still needs write access plus billing or credits. The optional Xquik backend is API-key based and text-only in LaraPost.LinkedInOAuth 2.0Member profile text postsLinkedIn organization pages are not supported. Image upload expects a readable local file path when used programmatically.Installation
------------

[](#installation)

```
composer require prateekbhujel/larapost
php artisan larapost:install
```

Manual setup:

```
php artisan vendor:publish --tag=larapost-config
php artisan vendor:publish --tag=larapost-migrations
php artisan vendor:publish --tag=larapost-views
php artisan migrate
```

Configuration
-------------

[](#configuration)

```
LARAPOST_DEFAULT_PLATFORM=facebook
LARAPOST_QUEUE_ENABLED=true
LARAPOST_MAX_RETRY_ATTEMPTS=3
LARAPOST_UI_ENABLED=true

FACEBOOK_APP_ID=
FACEBOOK_APP_SECRET=
FACEBOOK_API_VERSION=v20.0

TWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=
TWITTER_BACKEND=twitter

LINKEDIN_CLIENT_ID=
LINKEDIN_CLIENT_SECRET=

# Optional Xquik backend for Twitter text posts
XQUIK_API_KEY=
XQUIK_ACCOUNT=
XQUIK_API_BASE_URL=https://xquik.com/api/v1
```

Dashboard-saved provider credentials override `.env` values.

Quick Start
-----------

[](#quick-start)

Connect at least one provider account, then publish from code:

```
use SocialSync\Facades\SocialMedia;

$results = SocialMedia::post()
    ->content('Release update from LaraPost')
    ->platforms(['facebook', 'twitter'])
    ->publish();
```

Schedule for later:

```
use SocialSync\Facades\SocialMedia;

$results = SocialMedia::post()
    ->content('Tomorrow morning post')
    ->platforms(['facebook'])
    ->scheduleFor(now()->addHours(12))
    ->publish();
```

Connect an account from the CLI:

```
php artisan larapost:add-account facebook
php artisan larapost:add-account twitter
php artisan larapost:add-account linkedin
```

Dashboard
---------

[](#dashboard)

The built-in dashboard lives at `GET /larapost/dashboard`.

It includes:

- Provider credential forms with encrypted database storage
- Login popups for Facebook Pages, Twitter / X, and LinkedIn profiles
- Account targeting for exact Pages and accounts
- Bulk composer for different copy per connected account
- Recent publish history and account toggles

The dashboard is a real operator surface, not a demo screen. It only exposes the support that ships in `v1.0.0`.

Scheduling
----------

[](#scheduling)

Run the scheduled runner every minute:

```
* * * * * php /path/to/artisan larapost:run-scheduled >> /dev/null 2>&1
```

Useful commands:

- `php artisan larapost:install`
- `php artisan larapost:add-account {platform}`
- `php artisan larapost:test`
- `php artisan larapost:run-scheduled`

Docs
----

[](#docs)

- Docs portal:
- Xquik backend: [docs/XQUIK.md](./docs/XQUIK.md)
- Contributing guide: [CONTRIBUTING.md](./CONTRIBUTING.md)
- Security policy: [SECURITY.md](./SECURITY.md)
- Release playbook: [RELEASE.md](./RELEASE.md)
- Changelog: [CHANGELOG.md](./CHANGELOG.md)

Contributing
------------

[](#contributing)

Community contributions should come from forks. See [CONTRIBUTING.md](./CONTRIBUTING.md) for the expected workflow.

License
-------

[](#license)

LaraPost is released under the [MIT license](./LICENSE).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance83

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.3% 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 ~10 days

Total

4

Last Release

142d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13213140?v=4)[Pratik Bhujel](/maintainers/prateekbhujel)[@prateekbhujel](https://github.com/prateekbhujel)

---

Top Contributors

[![prateekbhujel](https://avatars.githubusercontent.com/u/13213140?v=4)](https://github.com/prateekbhujel "prateekbhujel (41 commits)")[![kriptoburak](https://avatars.githubusercontent.com/u/8755484?v=4)](https://github.com/kriptoburak "kriptoburak (2 commits)")

---

Tags

composer-packagecontent-schedulingfacebooklaravellaravel-packageslinkedinmulti-platform-app-uioauthopen-sourcephp8social-mediasocial-media-apisocial-postingtwitterlaravelfacebooktwitterschedulinglinkedinsocial mediax

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prateekbhujel-larapost/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.5k](/packages/laravel-framework)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k99.8M355](/packages/laravel-horizon)[statamic/cms

The Statamic CMS Core Package

4.9k3.8M1.2k](/packages/statamic-cms)[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

298594.9k1](/packages/larabug-larabug)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5226.7k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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