Download the PHP package crazybee47/laravel-bitrix24 without Composer
On this page you can find all versions of the php package crazybee47/laravel-bitrix24. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download crazybee47/laravel-bitrix24
More information about crazybee47/laravel-bitrix24
Files in crazybee47/laravel-bitrix24
Package laravel-bitrix24
Short Description Laravel wrapper around OAuth2 Bitrix24 Rest API Application
License MIT
Homepage https://github.com/crazybee69/laravel-bitrix24
Informations about the package laravel-bitrix24
Introduction
Laravel wrapper around OAuth2 Bitrix24 Rest API for a quick start of a new application on Laravel + Bitrix24.
There are few methods implemented in the library for interacting with the API, they will be added gradually.
If you need more methods, you can extend BitrixService and make API requests using the getApiClient
method, or loadRecords
method for fetching all items from lists.
Example:
Installation
Configuration
These credentials should be placed in your application's config/services.php
configuration file:
Add the bitrix/*
pattern to the list of VerifyCsrfToken middleware except list.
Setup Bitrix24 Rest API Application
- Handler path:
{APP_URL}/bitrix/oauth/callback
- Install handler path:
{APP_URL}/bitrix/install
By default, authorization data is saved at the time of application installation. It is also possible to manually authorize specific Bitrix24 user into the application. To do this, you need to direct the user to the link: {APP_URL}/bitrix/oauth/redirect
Setup App actions for Bitrix24
If you need to install webhooks or application actions for Business Processes when the application is installed into Bitrix24, you can listen the event: Crazybee47\Laravel\Bitrix24\Events\OnAppInstalled
. To do this, register handler for it in your EventServiceProvider:
Example:
All versions of laravel-bitrix24 with dependencies
guzzlehttp/guzzle Version ^7.5
mesilov/bitrix24-php-sdk Version 2.0-beta.2
symfony/event-dispatcher Version ^6.2|^7.0
illuminate/contracts Version ^9.0|^10.0|^11.0
illuminate/http Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0