mind4me/bx24_integration
Composer 安装命令:
composer require mind4me/bx24_integration
包简介
integrations laravel-bx24
关键字:
README 文档
README
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
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-07-21