PHPackages                             valkinaz/yii2-bitrix24 - 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. valkinaz/yii2-bitrix24

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

valkinaz/yii2-bitrix24
======================

Компонент для работы с CRM Bitrix24

6391PHP

Since Aug 20Pushed 7y agoCompare

[ Source](https://github.com/Valkinaz/yii2-bitrix24)[ Packagist](https://packagist.org/packages/valkinaz/yii2-bitrix24)[ RSS](/packages/valkinaz-yii2-bitrix24/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Bitrix24 Extension for Yii 2
============================

[](#bitrix24-extension-for-yii-2)

Download and install
====================

[](#download-and-install)

```
composer require valkinaz/yii2-bitrix24

```

Preparation
===========

[](#preparation)

Create 2 files in your config directory. You can see examples at `src` folder:

- `bitrix24.json`This is a configuration of component. You must set your individual "host", "client\_id", "client\_secret", "application\_uri", "access\_token" and "refresh\_token". Provide for this file permissions so that the script can overwrite it in the future.
- `bitrix24.php`This file using bitrix24.json and prepares component for Yii config.

Then include component at the config:

```
$bitrix24 = require __DIR__ . '/bitrix24.php';

'components' => [
	'bitrix24' => $bitrix24,
]
```

Usage
=====

[](#usage)

Create contact for example. In the `$response` variable you'll get response from your CRM.

```
$post = [
    'fields' => [
        'NAME' => 'Example_name',
        'PHONE' => [
            [
                'VALUE' => '79999999999',
                'VALUE_TYPE' => 'MOBILE'
            ]
        ],
        'ASSIGNED_BY_ID' => 1
    ]
];

$response = Yii::$app->bitrix24->Send('crm.contact.add', 'POST', $post);
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

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/24223502?v=4)[Viacheslav Gorin](/maintainers/Valkinaz)[@Valkinaz](https://github.com/Valkinaz)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/valkinaz-yii2-bitrix24/health.svg)

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

###  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)
