PHPackages                             flamix/b24-lead - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. flamix/b24-lead

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

flamix/b24-lead
===============

B24 Lead SDK

v1.9.2(1y ago)82.4k21PHPPHP &gt;=7.4

Since Jan 14Pushed 1y agoCompare

[ Source](https://github.com/FLAMIXSOFTWARE/b24-lead)[ Packagist](https://packagist.org/packages/flamix/b24-lead)[ Docs](https://flamix.solutions)[ RSS](/packages/flamix-b24-lead/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (2)Versions (16)Used By (1)

[![Screenshot](img/header.jpg)](img/header.jpg)

Site - Docs with API and examples -

Install
-------

[](#install)

```
composer require flamix/b24-lead
```

Usage
-----

[](#usage)

```
try {
    //If need change APP use changeSubDomain('wpapp') method
    \Flamix\Bitrix24\Lead::getInstance()->auth('YOUR.BITRIX24.COM', 'YOUR.API.KEY')->send(['FIELDS' => ['name' => 'Roman']]);
} catch (\Exception $e) {
    $e->getMessage();
}
```

Switch plugin
-------------

[](#switch-plugin)

This SDK can works with many all our "Website Integration". For default its work with general app - Site integrations. If you want switch to another module, please, youse method change changeSubDomain(). For example, if you installed "Integration with frameworks: Laravel, Symfony, Zend and Yii":

```
try {
    //If need change APP use changeSubDomain() method
    \Flamix\Bitrix24\Lead::getInstance()->changeSubDomain('leadframework')->auth('YOUR.BITRIX24.COM', 'YOUR.API.KEY')->send(['FIELDS' => ['name' => 'Roman']]);
} catch (\Exception $e) {
    $e->getMessage();
}
```

#### Module domains:

[](#module-domains)

- lead - Website Integration (Default);
- leadframework - Integration with frameworks: Laravel, Symfony, Zend and Yii

SmartUTM
--------

[](#smartutm)

When we didn't have UTM source, but have REFERER (for example, facebook.com) - we can set UTM\_SOURCE=facebook.com Put this code in header sections in every page.

```
\Flamix\Bitrix24\SmartUTM::init();
```

Trace
-----

[](#trace)

Trace save visited pages and user devise.

```
\Flamix\Bitrix24\Trace::setPage('Your page title');
```

Trace &amp; SmartUTM
--------------------

[](#trace--smartutm)

```
\Flamix\Bitrix24\Trace::init('Your page title');
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Recently: every ~64 days

Total

15

Last Release

580d ago

PHP version history (2 changes)1.0PHP &gt;=7.0

v1.7.0PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![rshkabko](https://avatars.githubusercontent.com/u/33148760?v=4)](https://github.com/rshkabko "rshkabko (15 commits)")

---

Tags

bitrix24

### Embed Badge

![Health badge](/badges/flamix-b24-lead/health.svg)

```
[![Health](https://phpackages.com/badges/flamix-b24-lead/health.svg)](https://phpackages.com/packages/flamix-b24-lead)
```

###  Alternatives

[wire-elements/wire-spy

Devtools for Livewire

470186.8k](/packages/wire-elements-wire-spy)

PHPackages © 2026

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