Search by

liventin / base.module.rest.router

Liventin

Service for subscribe rest methods in bitrix event

Package info

github.com/Liventin/base.module.rest.router

Type:bitrix-d7-module

pkg:composer/liventin/base.module.rest.router

Statistics

Installs: 107

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.2 2026-08-30 20:31 UTC

This package is auto-updated.

Last update: 2026-08-30 20:32:45 UTC


README

Bitrix Base Module
Bitrix Handlers Service For Base Events

install | update

"require": {
    "liventin/base.module.rest.router": "@stable"
}

redirect (optional)

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

PhpStorm Live Template

<?php

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


use ${MODULE_PROVIDER_CAMMAL_CASE}\\${MODULE_CODE_CAMMAL_CASE}\Service\LazyService;
use ${MODULE_PROVIDER_CAMMAL_CASE}\\${MODULE_CODE_CAMMAL_CASE}\Service\Rest\BitrixRest;
use CRestServer;

class RestExample
{
    #[BitrixRest(LazyService::MODULE_ID, LazyService::MODULE_ID.'.test')]
    public static function test(array ${DS}params, int ${DS}start, CRestServer ${DS}server): void
    {
        //logic
    }
}