LaravelPackages.net
Acme Inc.
Toggle sidebar
mind4me/bx24_integration

integrations laravel-bx24

22
1
1.5
About mind4me/bx24_integration

mind4me/bx24_integration is a Laravel package for integrations laravel-bx24. It currently has 1 GitHub stars and 22 downloads on Packagist (latest version 1.5). Install it with composer require mind4me/bx24_integration. Discover more Laravel packages by mind4me or browse all Laravel packages to compare alternatives.

Last updated

Integration Laravel-BX24

Packages for integration Laravel with Bitrix24

Installation

Go to the BITRIX24 and create local application with this url's

https:://your_url/integrations/index // default handler application
https:://your_url/integrations/install // install handler

After create application you should copy "client_id" and "client_secret" in your .env file like this:

MIND4ME_HOST=https://URL_TO_YOUR_BITRIX
MIND4ME_CLIENT_ID=local.60f43109e2342342.297444147
MIND4ME_CLIENT_SECRET=Fqplr9gyyjdY6usdfsdfmlnsdfjngGyfgfgTdeEcqEaGdix
MIND4ME_USER_LOGIN=Login
MIND4ME_USER_PASSWORD=Password

Then go to console, in path for your laravel project and enter this command

composer require mind4me/bx24_integration

In file config/app.php insert in 'providers' => [

\Mind4me\Bx24_integration\IntegrationServiceProvider::class

Then enter this artisan command in console

php artisan vendor:publish --provider="Mind4me\Bx24_integration\IntegrationServiceProvider"
php artisan integration:install
php artisan cache:clear
php artisan config:clear

Usage

In app/Console/Kernel.php add command for integration with the time that you need for integration! When cron begin working you see result in database

$schedule->command('integration:get-users')->hourly(); // for users
$schedule->command('integration:get-events')->everyFiveMinutes(); // for deals, companies, leads..

License

Mind4.me

Comments