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

6389PHP

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 2d 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 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

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://www.gravatar.com/avatar/ebb86b158c89b87d14b2c68afd192d2d8b6a5d3bb3dbcc4410067b798399f1bf?d=identicon)[Valkinaz](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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