Search by

liventin / base.module

Liventin

Base functionality for Bitrix module template, including options service

Package info

github.com/Liventin/base.module

Type:bitrix-d7-module

pkg:composer/liventin/base.module

Statistics

Installs: 399

Dependents: 32

Suggesters: 0

Stars: 0

Open Issues: 1

v1.1.3 2026-09-22 14:25 UTC

README

install | update

{
  "name": "provider/modul.name",
  "description": "bitrix module",
  "require": {
    "liventin/base.module": "^1.0.0"
  },
  "require-dev": {
    "roave/security-advisories": "dev-latest"
  },
  "scripts": {
    "post-update-cmd": [
      "/usr/bin/php vendor/liventin/base.module/scripts/post-install.php"
    ],
    "post-install-cmd": "@post-update-cmd"
  }
}

redirect (optional)

"extra": {
  "service-redirect": {
    "liventin/base.module": "module.name",
  }
},

remove (optional)

"extra": {
  "service-remove": [
    "liventin/base.module.handlers"
  ]
},

The package stays in require (composer will still download it), but post-install.php removes the files the package had previously deployed into the module (including service_locator files, when the package was in service-redirect).

additional packages
Bitrix Handlers Service For Base Events
Bitrix Handlers Service For SmartProcess Orm Events
Iblocks
Bitrix Orm
CRM Timeline Images
Hl Blocks
Local Apps
PSR-3 Logger
SmartProcess
Intranet Departments
Bitrix Rest Router for event
Result Modifier Injection
User Fields Enumeration
Migration User Fields
Migration Hl Block
Migration Bitrix Iblock
Migration Crm Status
Migration Crm Category
Migration Smart Process
Migration Smart Process Workspace
Module Options Providers
Note
Checkbox
SelectBox
Separator
Text
Table

PhpStorm Option Tab Live template

<?php

namespace ${MODULE_PROVIDER_CAMMAL_CASE}\\${MODULE_CODE_CAMMAL_CASE}\Options;

use ${MODULE_PROVIDER_CAMMAL_CASE}\\${MODULE_CODE_CAMMAL_CASE}\Service\Options\Tab;

class TabMain implements Tab
{

    public static function getId(): string
    {
        return 'main';
    }

    public static function getName(): string
    {
        return 'Main';
    }

    public static function getSort(): int
    {
        return 100;
    }
}