Download the PHP package oihso/php-bitrix24-api-module without Composer

On this page you can find all versions of the php package oihso/php-bitrix24-api-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-bitrix24-api-module

PHP Bitrix24 API Module

A basic PHP library for the Bitrix24 REST API. An authentication module is included.

Bitrix24 Documentation

Russian documentation
English documentation

Requirements

Example

What is settingsKeyName and settingsValueName values?

PHP Bitrix24 API Module uses standard key-value pair table to store data. Here is an example
If you have another names for key-value pairs (for example: option as key - config as value), you need to specify this names in config. Otherwise the library will not work.

Installation

  1. Install library in your project: composer require oihso/bitrix24-api-module
  2. Create new table (or use an existing one) to store settings. The table must be key-value type. Key and value must be TEXT fields
  3. Add the row "php_bitrix24_auth_time" = "0" to the table
  4. Add the row "php_bitrix24_auth_code" = "code" to the table

How to configure your Bitrix24

  1. Go to Applications -> Add application -> My account only -> Add and create app with Only API checkmark. Also you need to select all needed scopes
  2. Copy client_id and client_secret and paste it into Bitrix24 class config
  3. On the left-side menu go to Invite users and register new user. It will be your "service" account for REST API
  4. Create new group/department for your new "service" account
  5. Set up permissions for this group/department. You need to allow administrative rules for this account.
  6. Now, you can paste user's credentials into Bitrix24 class config

License

"PHP Bitrix24 API Module" is licensed under the Apache License - see the LICENSE.txt file for details


All versions of php-bitrix24-api-module with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
ext-curl Version *
ext-json Version *
ext-mysqli Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package oihso/php-bitrix24-api-module contains the following files

Loading the files please wait ....