定制 mb4it/bitrix-support 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 (see composer.json)
  • Bitrix with D7 ORM and relevant modules at runtime (main, and optionally highloadblock, 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

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
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-20