shilov/bitrix24-php-webhook-rest

简单的 Bitrix24 REST Webhook 集成

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

This package is not auto-updated.

Last update: 2024-09-28 03:16:25 UTC


README

一个简单的 PHP 库,用于通过 Webhook 使用 Bitrix24 REST API

Bitrix24 Webhooks

Bitrix24 API 文档 - 俄语
Bitrix24 API 文档 - 英语

要求

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

示例

use Shilov\Bitrix24WebhookRest\B24WebhookRest;

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

安装

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

作者

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