PHPackages                             maximaster/bitrix-enums - 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. maximaster/bitrix-enums

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

maximaster/bitrix-enums
=======================

Предоставляет перечисления относящиеся к Битрикс, чтобы не использовать в коде строки или числа или знать о перечислениях Битрикса не подключая сам Битрикс (например не-Битрикс проектов которые обращаются к Битрикс по API)

v18.5.180-rc.5(1y ago)01096MITPHPPHP ^7.4|^8.2

Since Jul 10Pushed 1y ago2 watchersCompare

[ Source](https://github.com/maximaster/bitrix-enums)[ Packagist](https://packagist.org/packages/maximaster/bitrix-enums)[ RSS](/packages/maximaster-bitrix-enums/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (5)Used By (6)

maximaster/bitrix-enums
=======================

[](#maximasterbitrix-enums)

Предоставляет перечисления относящиеся к Битрикс, чтобы не использовать в коде строки или числа или знать о перечислениях Битрикса не подключая сам Битрикс (например для не-Битрикс проектов которые обращаются к Битрикс по API).

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

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

Используйте константы и методы соответствующих классов, например:

```
use Maximaster\BitrixEnums\Main\ModuleId;

CModule::IncludeModule(ModuleId::SALE);

function doSomething(ModuleId $moduleId): void {}
doSomething(ModuleId::SALE());
```

Доработка библиотеки
--------------------

[](#доработка-библиотеки)

- установите [devbox](https://www.jetify.com/devbox), либо самостоятельно воспроизведите окружение, которое через него описано (см. `devbox.json`);
- ответвитесь от версии, соответствующей версии Битрикс, где точно имеются перечисления используемые в доработке;
- убедитесь, что линтеры не выдают ошибок (`devbox run lint`).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

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.

###  Release Activity

Cadence

Every ~16 days

Total

4

Last Release

629d ago

PHP version history (2 changes)v18.5.180-rc.2PHP ^7.4

v18.5.180-rc.3PHP ^7.4|^8.2

### 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 (4 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/maximaster-bitrix-enums/health.svg)

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

###  Alternatives

[phpdocumentor/reflection-docblock

With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.

9.4k722.2M1.2k](/packages/phpdocumentor-reflection-docblock)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[sylius/promotion

Flexible promotion management for PHP applications.

28477.8k9](/packages/sylius-promotion)[sylius/taxonomy

Taxonomies - categorization of domain models in PHP projects.

14435.6k10](/packages/sylius-taxonomy)[wwwision/dcb-eventstore

Implementation of the Dynamic Consistency Boundary pattern described by Sara Pellegrini

2131.5k10](/packages/wwwision-dcb-eventstore)[ymsoft/filament-money

Filament plugin for convenient storage and management of monetary fields

103.4k](/packages/ymsoft-filament-money)

PHPackages © 2026

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