adv/bitrix-event-plugin

Allows you to add Bitrix events without modules

Maintainers

👁 pandmitr

Package info

github.com/advwe/bitrix-event-plugin

Type:composer-plugin

pkg:composer/adv/bitrix-event-plugin

Statistics

Installs: 11 678

Dependents: 0

Suggesters: 0

Stars: 7

Open Issues: 2

1.3.1 2019-06-19 10:02 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT d2fd24993c1c96a8dfc28c7a907e636c42a327d1

  • Panychev Dmitry <panychev.woop@adv.ru>

This package is auto-updated.

Last update: 2026-06-20 02:05:36 UTC


README

👁 Latest Stable Version
👁 Codacy Badge
👁 Total Downloads
👁 Latest Unstable Version
👁 License

Bitrix events plugin

Allows you to realize some capabilities of the 1C-Bitrix module (install/uninstall permanent events) as a composer library. If you want to install your package as module, component or template, please use the composer installer with appropriate type (bitrix-d7-module, bitrix-d7-component, bitrix-d7-template).

Позволяет вам реализовать некоторые возможности модуля 1С-Битрика (такие, как установка/удаление событий) в рамках вашего пакета. Если вы хотите установить ваш пакет как модуль, компонент, или шаблон, пожалуйста, используйте composer installer с соответствующим типом (bitrix-d7-module, bitrix-d7-component, bitrix-d7-template).

Installation

To install the latest stable version of this plugin open a console and execute the following command:

$ composer require adv/bitrix-event-plugin

Для установки последней стабильной версии просто введите команду:

$ composer require adv/bitrix-event-plugin

Usage

{
 "extra": {
 "adv/bitrix-event-plugin": {
 "events": {
 "myGreatEvent": {
 "event":"OnSaleOrderSave",
 "module":"sale",
 "class":"\\My\\Event\\HandlerClass",
 "method":"myMethod",
 "sort":100,
 "version":1
 }
 }
 }
 }
}

Also, in base required you should define bitrix document root directory:

{
 "extra": {
 "bitrix-dir": "web"
 }
}

License

This component is under the MIT license. See the complete license in the LICENSE file.

Reporting an issue or a feature request

You'r welcome!