定制 banckle/crm-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

banckle/crm-bundle

Composer 安装命令:

composer require banckle/crm-bundle

包简介

This is a symfony2 bundle to use Banckle.CRM SDK for PHP in symfony2 applications quickly and easily.

README 文档

README

#Banckle.CRM for Symfony

This bundle allows you to work with Banckle.CRM SDK in your Symfony applications quickly and easily.

Installation

Add the following lines to your composer.json file:

// composer.json
{
    // ...
    require: {
        // ..
        "banckle/crm-sdk-php": "dev-master",
        "banckle/crm-bundle": "dev-master"

    }
}

Now, you can install the new dependencies by running Composer's update command from the directory where your composer.json file is located.

    composer update

Update your AppKernel.php file, and register the new bundle:

// app/AppKernel.php
public function registerBundles()
{
    // ...
     new Banckle\Bundle\CRMBundle\BanckleCRMBundle(),
    // ...
);
}

Configuration

Add this to your config.yml:

banckle_crm:
    #(Required) Your Account apiKey from apps.banckle.com
    apiKey: "XXXXXXXXXXXXX"
    banckleAccountUri: "https://apps.banckle.com/api/v2"
    banckleCRMUri: "https://crm.banckle.com/api/v1.0"

Usage

The Bundle is called as a standard service.

To access service:
$bancklecrm = $this->get('bancklecrm.api');

To generate token:
$bancklecrm = $this->get('bancklecrm.api');
$token = $bancklecrm->getToken($email, $password);

To get all contacts:
$contacts = $bancklecrm->createInstance('ContactsApi', $token);
$result = $contacts->getContacts();

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固