2017 © Pedro Peláez
 

symfony-bundle salesforce-bundle

Hello Salesforce Bundle

image

hgtan/salesforce-bundle

Hello Salesforce Bundle

  • Thursday, July 23, 2015
  • by hoangthienan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 206 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

HelloSalesforceBundle

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Build Status Coverage Status Quality Score HHVM Status, (*2)

SensioLabsInsight, (*3)

Just a simple example bundle using Salesforce API from your Symfony2 project and the following PHPForce Soap Client: * soap-client, (*4)

Installation

Step 1: Using Composer

composer.json, (*5)

    php composer.phar require hgtan/salesforce-bundle:dev-master

Step 2 : Register the bundle

Then register the bundle with your kernel:, (*6)

    <?php

    // in AppKernel::registerBundles()
    $bundles = array(
        // ...
        new Hgtan\Bundle\HelloSalesforceBundle\HgtanHelloSalesforceBundle(),
        // ...
    );

Step 3 : Configure the bundle

    # app/config/config.yml
    hgtan_hello_salesforce:
        soap_client:
            wsdl: %kernel.root_dir%/../src/Hgtan/Bundle/HelloSalesforceBundle/Resources/wsdl/sandbox.enterprise.wsdl.xml
            username: username
            password: password
            token: security_token
            logging: true

Step 4 : Test

    $ php app/console server:run

    # Fetch latest WSDL from Salesforce and store it locally
    $ php app/console phpforce:refresh-wsdl


Example:, (*7)

    http://127.0.0.1:8000/salesforce/account/pull
    http://127.0.0.1:8000/salesforce/account/insert
    http://127.0.0.1:8000/salesforce/account/update
    http://127.0.0.1:8000/salesforce/account/delete
    http://127.0.0.1:8000/salesforce/account/upsert

The Versions

23/07 2015

dev-master

9999999-dev http://hoangthienan.github.io

Hello Salesforce Bundle

  Sources   Download

MIT

The Requires

 

soap web services salesforce crm