mb4it/bitrix-support
Composer 安装命令:
composer require mb4it/bitrix-support
包简介
Helper library for 1C-Bitrix: ORM storage, migrations, EntityView, files, logging.
README 文档
README
Composer library for 1C-Bitrix projects: ORM storage helpers (MySQL / PostgreSQL batch SQL), Highload blocks, migration utilities, EntityView, files/images, logging.
Requirements
- PHP
^8.2(seecomposer.json) - Bitrix with D7 ORM and relevant modules at runtime (
main, and optionallyhighloadblock,ui, etc.)
Install
composer require mb4it/bitrix-support
Several internal mb4it/* packages are pinned @dev today; for public consumption, align versions per your registry policy.
Autoload
Composer maps:
MB\Bitrix\→src/
A small app() helper is registered from src/Support/helpers.php; it delegates to MB\Bitrix\Foundation\Application::getInstance() (you must bootstrap the application first).
Namespace policy
| Prefix | Role | Semver |
|---|---|---|
MB\Bitrix\ |
Primary public API (Storage, Module, Migration, Foundation, most Config types, etc.). Prefer use statements from this tree for new code. |
Breaking changes follow semver for documented public entrypoints. |
Single PSR‑4 root is intentional. See docs/SUPPORTED.md for subsystem support levels.
Documentation
- Documentation index
- Supported vs experimental API
- Application bootstrap
- Migrations
- Storage / Highload
- UI Components - Forms, fields, tabs, EntitySelector
- Laravel-style DI
Matrix (high level)
| Layer | Notes |
|---|---|
| PHP | ^8.2 |
| Bitrix | D7 ORM assumed; not tested against non-D7 cores |
| DB | Batch helpers target MySQL (ROW in UPDATE … JOIN) and PostgreSQL (ON CONFLICT, VALUES updates). Confirm MariaDB behaviour in your version. |
Development
composer validate
composer dump-autoload -o
composer test
composer phpstan
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-20