2017 © Pedro Peláez
 

symfony-bundle crm-bundle

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

image

banckle/crm-bundle

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

  • Friday, November 7, 2014
  • by masood-anwer
  • Repository
  • 2 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Banckle.CRM for Symfony

This bundle allows you to work with Banckle.CRM SDK in your Symfony applications quickly and easily., (*1)

Installation

Add the following lines to your composer.json file:, (*2)

// 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., (*3)

    composer update

Update your AppKernel.php file, and register the new bundle:, (*4)

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

Configuration

Add this to your config.yml:, (*5)

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., (*6)

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();

The Versions

07/11 2014

dev-master

9999999-dev https://github.com/BanckleMarketplace/Banckle.CRM-For-Symfony

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

  Sources   Download

MIT

The Development Requires

by Masood Anwer

php sdk crm banckle