PHPackages                             crasivo/bitrix-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. [CLI &amp; Console](/categories/cli)
4. /
5. crasivo/bitrix-console

ActiveLibrary[CLI &amp; Console](/categories/cli)

crasivo/bitrix-console
======================

Symfony console adapter for 1C-Bitrix

0.0.1(9mo ago)038MITPHPPHP ^7.2 || ^8.0

Since Sep 18Pushed 2mo agoCompare

[ Source](https://github.com/crasivo/bitrix-console)[ Packagist](https://packagist.org/packages/crasivo/bitrix-console)[ GitHub Sponsors](https://github.com/crasivo)[ RSS](/packages/crasivo-bitrix-console/feed)WikiDiscussions legacy Synced 3w ago

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

💻 Bitrix Console
================

[](#-bitrix-console)

An adapter for the popular [Symfony Console](https://github.com/symfony/console) library in 1C-Bitrix &amp; Bitrix24.

Minimum requirements for installation:

- 1C-Bitrix kernel (main) version: `v20.5.400`
- PHP version: `v7.2`
- Symfony Console version: `v5.0`

🚀 Quick Start
=============

[](#-quick-start)

To use the library, simply install the [Composer](https://getcomposer.org/) package via the command:

```
$ cd /path/to/project
$ composer require crasivo/bitrix-console
```

The library is ready to use. The executable file is located in the `vendor/bin/console` folder. Below is an example command to get a list of all modules.

```
$ php vendor/bin/console list
```

🕹️ Usage
========

[](#️-usage)

Creating Commands
-----------------

[](#creating-commands)

The process of creating commands for 1C-Bitrix (current adapter) is no different from [Symfony](https://symfony.com/doc/current/console.html). Command classes can be stored anywhere, including folders in a custom module. The only requirement for operation is visibility for Composer autoload.

Registering Commands
--------------------

[](#registering-commands)

The library includes the `CommandLocator` class (analogous to the standard [ServiceLocator](https://dev.1c-bitrix.ru/learning/course/index.php?COURSE_ID=43&LESSON_ID=14032)), which loads commands from `.settings.php` configuration files. If your module is installed, the locator will also automatically load commands from it.

To register, simply define the `console.commands` section and specify a list of your commands in it. Below is an example of registering commands in various ways.

```
use Your\Awesome\Command;

return [
    'console' => [
        'value' => [
            'commands' => [
                Command::class, // simple (via class name)
                'some.command' => ['className' => Command::class], // classic
                'some.command' => ['constructor' => function () { return new Command(); }] // via constructor
            ],
        ],
        'readonly' => true,
    ],
];
```

---

📜 License
---------

[](#-license)

This project is distributed under the [MIT](https://en.wikipedia.org/wiki/MIT_License) license. The full text of the license can be found in the [LICENSE](LICENSE) file.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance74

Regular maintenance activity

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

280d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

bitrixbitrix24cliconsolebitrixadapter

### Embed Badge

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

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

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k569.8M785](/packages/psy-psysh)[notamedia/console-jedi

Console application for CMS Bitrix

8842.9k1](/packages/notamedia-console-jedi)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1444.0k](/packages/shel-neos-terminal)

PHPackages © 2026

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