Skip to content

nvadim/bitrix24-php-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitrix24-php-sdk (unofficial)

![Gitter](https://badges.gitter.im/Join Chat.svg) License Total Downloads

A powerfull PHP library for the Bitrix24 REST API

Bitrix24 API documentation

Requirements

PHP 5.3 or above

Example

// init lib
$obB24App = new \Bitrix24\Bitrix24();
$obB24App->setApplicationScope($arParams['B24_APPLICATION_SCOPE']);
$obB24App->setApplicationId($arParams['B24_APPLICATION_ID']);
$obB24App->setApplicationSecret($arParams['B24_APPLICATION_SECRET']);
 
// set user-specific settings
$obB24App->setDomain($arParams['DOMAIN']);
$obB24App->setMemberId($arParams['MEMBER_ID']);
$obB24App->setAccessToken($arParams['AUTH_ID']);
$obB24App->setRefreshToken($arParams['REFRESH_ID']);

// get information about current user from bitrix24
$obB24User = new \Bitrix24\User\User($obB24App);
$arCurrentB24User = $obB24User->current();

Installation

Add "mesilov/bitrix24-php-sdk": "dev-master" to composer.json of your application. Or clone repo to your project.

Support

email: mesilov.maxim@gmail.com
vk: mesilov.maxim
twitter: @mesilov

About

A powerfull PHP library for the Bitrix24 REST API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%