shilov/bitrix24-php-webhook-rest

Simple Bitrix24 rest webhook integration

dev-master 2019-08-22 06:44 UTC

This package is not auto-updated.

Last update: 2024-03-16 00:42:07 UTC


README

A simple PHP library for using Bitrix24 REST API via Webhook

Bitrix24 Вебхуки

Bitrix24 API документация - Russian
Bitrix24 API documentation - English

Requirements

  • php: >=7.0.0
  • ext-json: *
  • ext-curl: *

Example

use Shilov\Bitrix24WebhookRest\B24WebhookRest;

$rest = new B24WebhookRest($domain, $userId, $authCode);
$result = $rest->call('crm.lead.get', [
   'id' => 1
]);

Installation

composer require shilov/bitrix24-php-webhook-rest:dev-master

Author

Andrei Shilov - glower71@gmail.com - https://www.linkedin.com/in/shilov-a/