hgtan/salesforce-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

hgtan/salesforce-bundle

Composer 安装命令:

composer require hgtan/salesforce-bundle

包简介

Hello Salesforce Bundle

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

Build Status Coverage Status Quality Score HHVM Status

SensioLabsInsight

Just a simple example bundle using Salesforce API from your Symfony2 project and the following PHPForce Soap Client:

Installation

Step 1: Using Composer

composer.json

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

Step 2 : Register the bundle

Then register the bundle with your kernel:

    <?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:

    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

统计信息

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

GitHub 信息

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

其他信息

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