Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
⏰ better clearance
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Stelmakh committed Apr 27, 2019
1 parent b8a193e commit ad10f34
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 7 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@
Поддерживается установка через Composer:

<code>composer require mikechip/bitrix24-sdk</code>

## Feedback
Используйте **Issues**, автор всегда на проводе
14 changes: 10 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@
"name": "mikechip/bitrix24-sdk",
"description": "Bitrix24 PHP SDK",
"type": "library",
"version": "1.1.0",
"require": {
"ext-curl": "^7.2",
"php": ">=7.0"
"php": ">=7.2",
"ext-json": "^1.6"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/mikechip/bitrix24-sdk"
}
],
"license": "GPL-3.0-or-later",
"authors": [
{
Expand All @@ -14,8 +22,6 @@
}
],
"autoload": {
"psr-0": {
"Disaytid": "src/"
}
"classmap": ["src/Bitrix.php"]
}
}
21 changes: 21 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions src/Bitrix.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
<?php

namespace Disaytid;
namespace Mike4ip;

/**
* Для работы с API нужно создать входящий webhook в разделе Приложения, передав при создании
* объекта токен и URL
*
* Class Bitrix
* @package Disaytid
* @package Mike4ip
*/
class Bitrix
{
/**
* Webhook
* Webhook token
* @var string
*/
protected $token;

/**
* Webhook URL
* @var string
*/
protected $api_url;
Expand Down

0 comments on commit ad10f34

Please sign in to comment.