PHPackages                             bemulima/yii2-crossposting - 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. bemulima/yii2-crossposting

ActiveYii2-extension[API Development](/categories/api)

bemulima/yii2-crossposting
==========================

Auto publishing module for social services (VK, OK, FB).

6531[1 issues](https://github.com/bemulima/yii2-crossposting/issues)PHP

Since Oct 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bemulima/yii2-crossposting)[ Packagist](https://packagist.org/packages/bemulima/yii2-crossposting)[ RSS](/packages/bemulima-yii2-crossposting/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2-cross-posting
==================

[](#yii2-cross-posting)

Auto publishing module for social services (VK, OK, FB)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require bemulima/yii2-cross-posting "*"

```

or add

```
"bemulima/yii2-cross-posting": "*"

```

to the require section of your `composer.json` file.

Config
------

[](#config)

```
'modules' => [
        'cross_posting' => [
            'class' => 'bemulima\cross-posting\Module',
        ],
        ...
    ],
'components' => [
    'crossPosting' => [
            'class' => 'bemulima\cross-posting\CrossPosting',
            'services' => [
                'vk' => [
                    'class' => 'bemulima\cross-posting\Vk',
                    'accessToken' => 'XXX',
                    'groups' => [
                        '###',
                        '###',
                    ]
                ],
                'ok' => [
                    'class' => 'bemulima\cross-posting\Ok',
                    'accessToken' => 'XXX',
                    'privateKey' => 'XXX',
                    'publicKey' => 'XXX',
                    'groups' => [
                        '###',
                        '###',
                    ]
                ],
                'fb' => [
                    'class' => 'bemulima\cross-posting\Fb',
                    'accessToken' => 'XXX',
                    'privateKey' => 'XXX',
                    'publicKey' => 'XXX',
                    'groups' => [
                        '###',
                        '###',
                    ]
                ]
            ]
        ]
    ],
    ...
]

```

Instead of XXX, you have to use yours values. To receive them, you must create applications on the social networks. Instead of ###, you have to use yours id groups in social networks

ClientRegistration addressvkontaktefacebookodnoklassnikiUsage
-----

[](#usage)

in main layout:

```
use budyaga\users\components\AuthorizationWidget;

```

```
$crossPosting = Yii::$app->crossPosting
                ->text($text)
                ->images($images)
                ->url($ad->url);

$crossPosting->service('vk')->publish();
$crossPosting->service('ok')->publish();
$crossPosting->service('fb')->publish();

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5669814?v=4)[Marat](/maintainers/bemulima)[@bemulima](https://github.com/bemulima)

---

Top Contributors

[![bemulima](https://avatars.githubusercontent.com/u/5669814?v=4)](https://github.com/bemulima "bemulima (6 commits)")

### Embed Badge

![Health badge](/badges/bemulima-yii2-crossposting/health.svg)

```
[![Health](https://phpackages.com/badges/bemulima-yii2-crossposting/health.svg)](https://phpackages.com/packages/bemulima-yii2-crossposting)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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