PHPackages                             dvtoid/bitrix-chrome-console - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. dvtoid/bitrix-chrome-console

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

dvtoid/bitrix-chrome-console
============================

Дебаг в консоли Google Chrome для 1С-Битрикс

1.0.0(1y ago)19MITPHPPHP ^8.0

Since Apr 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dvtoid/bitrix-chrome-console)[ Packagist](https://packagist.org/packages/dvtoid/bitrix-chrome-console)[ RSS](/packages/dvtoid-bitrix-chrome-console/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Bitrix Chrome Console
---------------------

[](#bitrix-chrome-console)

Дебаг в консоли Google Chrome для 1С-Битрикс

Используется библиотека [barbushin/php-console](https://github.com/barbushin/php-console)и расширение для Google Chrome [barbushin/php-console-extension](https://github.com/barbushin/php-console-extension)

### Использование

[](#использование)

Установить библиотеку из composer:

```
composer require dvtoid/bitrix-chrome-console
```

Скачать расширение для Google Chrome из репы [barbushin/php-console-extension](https://github.com/barbushin/php-console-extension)

Установить в Chrome в разделе расширения (chrome://extensions/), кнопка "Загрузить распакованное расширение"

### .settings.php

[](#settingsphp)

В .settings.php или .settings\_extra.php добавить секцию настроек:

```
'bitrix_chrome_console' =>
  array(
    'value' =>
      array(
        'enabled' => true,
        'password' => 'PASSWORD',
        'debug' => false,
        'storage' => array(
          'type' => 'file',
          'path' => $_SERVER['DOCUMENT_ROOT'] . '/tmp/bc.data'
        ),
        // optional
        /*
        'terminal' => true, // eval terminal
        'base_path' => '/home/bitrix/www', // strip sources base path
        'encoding' => 'CP1251', // if needed
        'ssl' => true, // all PHPConsole clients will be redirected to HTTPS
        'allowed_ips' => array(
          '127.0.0.1'
        )
        */
      ),
    'readonly' => true,
  )
```

### php.ini

[](#phpini)

В начале php.ini подключить инициализацию консоли

```
require __DIR__ . '/../path/to/vendor/autoload.php';

\BitrixChromeConsole\Console::init();
```

### Вывод в консоль

[](#вывод-в-консоль)

```
use \BitrixChromeConsole\Console;
```

```
Console::log(['some','data']);
```

[![console1](https://camo.githubusercontent.com/ad4325f8382c6a2246d1c05de156ce55529021bf68961776c9ff60535d5d9a96/68747470733a2f2f646576746f69642e72752f696d616765732f6269747269782d6368726f6d652d636f6e736f6c652f636f6e736f6c65312e706e67)](https://camo.githubusercontent.com/ad4325f8382c6a2246d1c05de156ce55529021bf68961776c9ff60535d5d9a96/68747470733a2f2f646576746f69642e72752f696d616765732f6269747269782d6368726f6d652d636f6e736f6c652f636f6e736f6c65312e706e67)

```
Console::log(['log','data'], 'tag');
```

[![console2](https://camo.githubusercontent.com/4c892d235210f098092558936acd3784d60c674f1dcbdae2d243d74f7e561ec8/68747470733a2f2f646576746f69642e72752f696d616765732f6269747269782d6368726f6d652d636f6e736f6c652f636f6e736f6c65322e706e67)](https://camo.githubusercontent.com/4c892d235210f098092558936acd3784d60c674f1dcbdae2d243d74f7e561ec8/68747470733a2f2f646576746f69642e72752f696d616765732f6269747269782d6368726f6d652d636f6e736f6c652f636f6e736f6c65322e706e67)

```
Console::log(['log','data'], 'tag', true);
```

[![console31](https://camo.githubusercontent.com/3d1d185d178910df093a7abfb9880ffef9531bcdd07dc941422fffd2d578c6ee/68747470733a2f2f646576746f69642e72752f696d616765732f6269747269782d6368726f6d652d636f6e736f6c652f636f6e736f6c65332e706e67)](https://camo.githubusercontent.com/3d1d185d178910df093a7abfb9880ffef9531bcdd07dc941422fffd2d578c6ee/68747470733a2f2f646576746f69642e72752f696d616765732f6269747269782d6368726f6d652d636f6e736f6c652f636f6e736f6c65332e706e67)

Или через хелпрер console()

```
console(['log','data'], 'tag', true);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance46

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

407d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f16f8aedc9f1b8f8ce63c50a628e3ebfd1e3305227bac70c2b13e4d4e26c7c96?d=identicon)[dvtoid](/maintainers/dvtoid)

### Embed Badge

![Health badge](/badges/dvtoid-bitrix-chrome-console/health.svg)

```
[![Health](https://phpackages.com/badges/dvtoid-bitrix-chrome-console/health.svg)](https://phpackages.com/packages/dvtoid-bitrix-chrome-console)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)[beyondcode/helo-laravel

HELO Laravel debug helper

90360.1k](/packages/beyondcode-helo-laravel)

PHPackages © 2026

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