PHPackages                             maximaster/bitrix-class-alias-generator - 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. maximaster/bitrix-class-alias-generator

ActiveLibrary

maximaster/bitrix-class-alias-generator
=======================================

Генератор алиасов классов Битрикса для IDE/LSP

v0.1.0(1w ago)02MITPHPPHP ^8.3CI passing

Since Mar 11Pushed 1w agoCompare

[ Source](https://github.com/maximaster/bitrix-class-alias-generator)[ Packagist](https://packagist.org/packages/maximaster/bitrix-class-alias-generator)[ RSS](/packages/maximaster-bitrix-class-alias-generator/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Генератор алиасов классов Битрикса
==================================

[](#генератор-алиасов-классов-битрикса)

Генерирует файл алиасов классов для новых версий ядра Битрикса для нормальной работы в IDE/LSP.

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

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

### Установка в проект через Composer

[](#установка-в-проект-через-composer)

```
composer require --dev maximaster/bitrix-class-alias-generator
./vendor/bin/bitrix-class-alias-generator --help
```

### Через Docker

[](#через-docker)

```
docker pull ghcr.io/maximaster/bitrix-class-alias-generator:latest
```

Примеры запуска
---------------

[](#примеры-запуска)

### CLI через Composer

[](#cli-через-composer)

```
./vendor/bin/bitrix-class-alias-generator \
  --document-root $(pwd)/htdocs \
  --module main \
  --output $(pwd)/var/stubs
```

### Docker с модулями

[](#docker-с-модулями)

```
docker run --rm -u $(id -u):$(id -g) -v $(pwd):$(pwd) \
  ghcr.io/maximaster/bitrix-class-alias-generator:latest \
  --document-root $(pwd)/htdocs \
  --module main \
  --output $(pwd)/var/stubs
```

### Docker с прямым указанием путей к файлам

[](#docker-с-прямым-указанием-путей-к-файлам)

```
docker run --rm -u $(id -u):$(id -g) -v $(pwd):$(pwd) \
  ghcr.io/maximaster/bitrix-class-alias-generator:latest \
  --document-root $(pwd)/htdocs \
  --alias-path $(pwd)/htdocs/bitrix/modules/main/include/compatibility.php \
  --output $(pwd)/var/stubs
```

Аргументы
---------

[](#аргументы)

- `--module ` - Имя модуля Битрикс для поиска файла алиасов (повторяемая опция)
- `--alias-path ` - Прямой путь к файлу с алиасами (повторяемая опция)
- `--output ` - Директория для сохранения сгенерированного файла
- `--document-root ` - Корневая директория проекта для поиска модулей
- `--help`, `-h` - Показать справку

###  Health Score

38

—

LowBetter than 86% of packages

Maintenance98

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60% 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

10d ago

### Community

Maintainers

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

---

Top Contributors

[![mlavrinenko](https://avatars.githubusercontent.com/u/15840214?v=4)](https://github.com/mlavrinenko "mlavrinenko (6 commits)")[![l-demidov](https://avatars.githubusercontent.com/u/159027320?v=4)](https://github.com/l-demidov "l-demidov (4 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/maximaster-bitrix-class-alias-generator/health.svg)

```
[![Health](https://phpackages.com/badges/maximaster-bitrix-class-alias-generator/health.svg)](https://phpackages.com/packages/maximaster-bitrix-class-alias-generator)
```

PHPackages © 2026

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